add string split function to template funcMap
This commit is contained in:
parent
7d6c958c9d
commit
bbf831afae
2 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue