ad892008 by xiemengjun

修复key字符串bug

1 parent 71b03774
...@@ -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 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!