func RegisterGlobalTemplateFuncs(f template.FuncMap) {
	defaultConfig.mutex.Lock()
	for k, v := range f {
		defaultConfig.funcMap[k] = v
	}
	defaultConfig.mutex.Unlock()
}
// RegisterGlobalTemplateFuncs adds functions which can be used globally for all templates
RegisterGlobalTemplateFuncs adds functions which can be used globally for all templates
// RegisterGlobalTemplateFuncs adds functions which can be used globally for all templates
func RegisterGlobalTemplateFuncs(f template.FuncMap) {
	defaultConfig.mutex.Lock()
	for k, v := range f {
		defaultConfig.funcMap[k] = v
	}
	defaultConfig.mutex.Unlock()
}
func RegisterGlobalTemplateFuncs ( f template . FuncMap ) { defaultConfig . mutex . Lock ( ) for k , v := range f { defaultConfig . funcMap [ k ] = v } defaultConfig . mutex . Unlock ( ) }
RegisterGlobalTemplateFuncs adds functions which can be used globally for all templates
RegisterGlobalTemplateFuncs adds functions which can be used globally for all templates