add contains funcmap
This commit is contained in:
parent
64a671ae13
commit
2a2a96d9fc
|
@ -16,6 +16,7 @@ var TemplateFuncMap = template.FuncMap{
|
||||||
"match": regexp.MatchString,
|
"match": regexp.MatchString,
|
||||||
"toUpper": strings.ToUpper,
|
"toUpper": strings.ToUpper,
|
||||||
"toLower": strings.ToLower,
|
"toLower": strings.ToLower,
|
||||||
|
"contains": strings.Contains,
|
||||||
"humanize": Humanize,
|
"humanize": Humanize,
|
||||||
"humanize1024": Humanize1024,
|
"humanize1024": Humanize1024,
|
||||||
"humanizeDuration": HumanizeDuration,
|
"humanizeDuration": HumanizeDuration,
|
||||||
|
|
Loading…
Reference in New Issue