Skip to content

Commit

Permalink
Add contains template func
Browse files Browse the repository at this point in the history
  • Loading branch information
bep authored and muesli committed Nov 16, 2022
1 parent 3c32005 commit 6d64452
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ func main() {
"humanize": humanized,
"reverse": reverse,
"now": time.Now,
"contains": strings.Contains,
"toLower": strings.ToLower,
}).Parse(string(tplIn))
if err != nil {
Expand Down

0 comments on commit 6d64452

Please sign in to comment.