func RegisterFunc(module, name string, f interface{}) {
	if _, ok := tfuncs[name]; ok {
		logger.Printf("register/func: [%s] override %s\n", module, name)
	} else {
		logger.Printf("register/func: [%s] add %s\n", module, name)
	}
	tfuncs[name] = f
}
// RegisterFunc registers func into kou template func map
RegisterFunc registers func into kou template func map
// RegisterFunc registers func into kou template func map
func RegisterFunc(module, name string, f interface{}) {
	if _, ok := tfuncs[name]; ok {
		logger.Printf("register/func: [%s] override %s\n", module, name)
	} else {
		logger.Printf("register/func: [%s] add %s\n", module, name)
	}
	tfuncs[name] = f
}
func RegisterFunc ( module , name string , f interface { } ) { if _ , ok := tfuncs [ name ] ; ok { logger . Printf ( " \n " , module , name ) } else { logger . Printf ( " \n " , module , name ) } tfuncs [ name ] = f }
RegisterFunc registers func into kou template func map
RegisterFunc registers func into kou template func map