Initial commit

This commit is contained in:
2024-12-05 13:15:22 -05:00
commit 91e72ac49e
17 changed files with 1517 additions and 0 deletions

17
providers/sprig/sprig.go Normal file
View File

@@ -0,0 +1,17 @@
package sprig
import "html/template"
import "github.com/Masterminds/sprig/v3"
import "git.tebibyte.media/sashakoshka/step"
var _ step.FuncProvider = new(Provider)
// Provider provides all Sprig functions.
type Provider struct {
}
// FuncMap fulfills the step.FuncProvider interface.
func (this *Provider) FuncMap () template.FuncMap {
return sprig.FuncMap()
}