1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 18:10:54 +00:00
This commit is contained in:
astaxie 2013-08-20 14:20:38 +08:00
parent 769735c207
commit fd677c45aa

View File

@ -112,7 +112,7 @@ func BuildTemplate(dir string) error {
return err return err
} }
for k, v := range self.files { for k, v := range self.files {
BeeTemplates[k] = template.Must(template.New("beegoTemplate"+k).Funcs(beegoTplFuncMap).ParseFiles(v...)).Delims(TemplateLeft, TemplateRight) BeeTemplates[k] = template.Must(template.New("beegoTemplate"+k).Delims(TemplateLeft, TemplateRight).Funcs(beegoTplFuncMap).ParseFiles(v...))
} }
return nil return nil
} }