updated functions names
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Paul 2020-08-01 18:37:38 +02:00
parent 784baa221d
commit ce91685f8d

View File

@ -30,11 +30,11 @@ func BuildTemplates(box *packr.Box) (builttemplates *Template, err error) {
tmpl.New(filename).Parse(tmplContent)
}
builttemplate := &Template{
builttemplates = &Template{
templates: tmpl,
}
return builttemplate, nil
return
}
// BuildTemplatesDir converts packr packages to html/template
@ -52,11 +52,11 @@ func BuildTemplatesDir(dir string) (builttemplates *Template, err error) {
return err
})
builttemplate := &Template{
builttemplates = &Template{
templates: tmpl,
}
return builttemplate, nil
return
}
// Template is a template struct