add contains funcmap

This commit is contained in:
Ulric Qin 2022-07-04 20:03:11 +08:00
parent 64a671ae13
commit 2a2a96d9fc
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ var TemplateFuncMap = template.FuncMap{
"match": regexp.MatchString,
"toUpper": strings.ToUpper,
"toLower": strings.ToLower,
"contains": strings.Contains,
"humanize": Humanize,
"humanize1024": Humanize1024,
"humanizeDuration": HumanizeDuration,