1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-04 03:20:19 +00:00

fix comments typo in beego package/

This commit is contained in:
傅小黑
2013-12-22 15:09:33 +08:00
parent 8b0929b4bc
commit 6cb3f588c7
3 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@ import (
var (
beegoTplFuncMap template.FuncMap
// beego template caching map ans supported template file extensions.
// beego template caching map and supported template file extensions.
BeeTemplates map[string]*template.Template
BeeTemplateExt []string
)
@ -89,7 +89,7 @@ func (self *templatefile) visit(paths string, f os.FileInfo, err error) error {
return nil
}
// return this path has supported template extension of beego or not.
// return this path contains supported template extension of beego or not.
func HasTemplateExt(paths string) bool {
for _, v := range BeeTemplateExt {
if strings.HasSuffix(paths, "."+v) {