aboutsummaryrefslogtreecommitdiff
path: root/lib/templates
diff options
context:
space:
mode:
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
}