1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 19:50:55 +00:00
This commit is contained in:
astaxie 2013-03-21 21:47:19 +08:00
parent d0e171c801
commit e467a6ed91

View File

@ -207,7 +207,7 @@ func BuildTemplate(dir string) error {
root: dir,
files: make(map[string][]string),
}
err = filepath.Walk(dir, func(path string, f os.FileInfo, err error) error {
err := filepath.Walk(dir, func(path string, f os.FileInfo, err error) error {
return self.visit(path, f, err)
})
if err != nil {