feat: add sprig template functions support (#131)

* cherry-pick from delmendo

* add tests, docs, and lift hermetic restriction

* remove duplicate funcs that are now provided by sprig

* switch func load order to allow built-ins precedence

* Update chglog.go

Co-authored-by: Dirk Elmendorf <dirk@r26d.com>
This commit is contained in:
Trent Albright 2021-03-28 23:18:36 -04:00 committed by GitHub
parent e523fd471a
commit 4f3fdc4dae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 176 additions and 27 deletions

1
go.mod
View file

@ -4,6 +4,7 @@ go 1.16
require (
github.com/AlecAivazis/survey/v2 v2.2.9
github.com/Masterminds/sprig/v3 v3.2.2
github.com/andygrunwald/go-jira v1.13.0
github.com/coreos/go-semver v0.3.0
github.com/fatih/color v1.10.0