ad892008 by xiemengjun

修复key字符串bug

1 parent 71b03774
......@@ -47,7 +47,7 @@ func Compare(a, b interface{}) (equal bool) {
// AddFuncMap let user to register a func in the template
func AddFuncMap(key string, funname interface{}) error {
if _, ok := beegoTplFuncMap["key"]; ok {
if _, ok := beegoTplFuncMap[key]; ok {
beegoTplFuncMap[key] = funname
return nil
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!