add string split function to template funcMap

This commit is contained in:
andyxning 2020-12-29 13:52:10 +08:00
parent 7d6c958c9d
commit bbf831afae
2 changed files with 2 additions and 0 deletions

View file

@ -152,6 +152,7 @@ var (
"buildDenyVariable": buildDenyVariable,
"getenv": os.Getenv,
"contains": strings.Contains,
"split": strings.Split,
"hasPrefix": strings.HasPrefix,
"hasSuffix": strings.HasSuffix,
"trimSpace": strings.TrimSpace,