diff options
Diffstat (limited to 'lib/templates')
-rw-r--r-- | lib/templates/template.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/templates/template.go b/lib/templates/template.go index c09bf4d2..e19b5ae0 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 } |