aboutsummaryrefslogtreecommitdiff
path: root/lib/templates
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-11-10 11:00:21 -0500
committerDrew DeVault <sir@cmpwn.com>2019-11-10 11:00:21 -0500
commitcb7d7a043892e9911491c3acc32a36b61d891ea7 (patch)
treed38079aaad1e9048ce4118fcd8691652be2ed614 /lib/templates
parent3ba69edab5f0c787424dac9649e43a7743da13ca (diff)
Add some defaults for template options
Diffstat (limited to 'lib/templates')
-rw-r--r--lib/templates/template.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/templates/template.go b/lib/templates/template.go
index c09bf4d..e19b5ae 100644
--- a/lib/templates/template.go
+++ b/lib/templates/template.go
@@ -132,8 +132,8 @@ func ParseTemplateFromFile(templateName string, templateDirs []string, data inte
if err != nil {
return nil, err
}
- emailTemplate, err :=
- template.New(templateName).Funcs(templateFuncs).ParseFiles(templateFile)
+ emailTemplate, err := template.New(templateName).
+ Funcs(templateFuncs).ParseFiles(templateFile)
if err != nil {
return nil, err
}