修复key字符串bug
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -47,7 +47,7 @@ func Compare(a, b interface{}) (equal bool) { | ... | @@ -47,7 +47,7 @@ func Compare(a, b interface{}) (equal bool) { |
| 47 | 47 | ||
| 48 | // AddFuncMap let user to register a func in the template | 48 | // AddFuncMap let user to register a func in the template |
| 49 | func AddFuncMap(key string, funname interface{}) error { | 49 | func AddFuncMap(key string, funname interface{}) error { |
| 50 | if _, ok := beegoTplFuncMap["key"]; ok { | 50 | if _, ok := beegoTplFuncMap[key]; ok { |
| 51 | beegoTplFuncMap[key] = funname | 51 | beegoTplFuncMap[key] = funname |
| 52 | return nil | 52 | return nil |
| 53 | } | 53 | } | ... | ... |
-
Please register or sign in to post a comment