Skip to content

Commit

Permalink
Add replaceAll template funtion which referes to strings.ReplaceAll
Browse files Browse the repository at this point in the history
  • Loading branch information
Valdas Pilkauskas committed Feb 16, 2021
1 parent a23150e commit 4cfe9e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/template/functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ var (
"toTitle": strings.ToTitle,
"title": strings.Title,

"replaceAll": strings.ReplaceAll,

"trimSpace": strings.TrimSpace,
"trimPrefix": strings.TrimPrefix,
"trimSuffix": strings.TrimSuffix,
Expand Down

0 comments on commit 4cfe9e5

Please sign in to comment.