Registry / utility / go-task-slim-sprig

go-task-slim-sprig

JSON →
library2.20.0+incompatiblegogounverified

Sprig: Template functions for Go, slimmed down version.

go get github.com/go-task/slim-sprig
INSTALL
IMPORT
SIG · GO-TASK-SLIM-SPRIG
G
go-task-slim-sprig
utilitygov2.20.0+incompatible
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

sprig
github.com/go-task/slim-sprig

Use Sprig template functions in a Go template.

package main import ( "fmt" "github.com/go-task/slim-sprig" "text/template" ) func main() { funcMap := sprig.FuncMap() tpl := template.Must(template.New("").Funcs(funcMap).Parse("{{ upper \"hello\" }}")) tpl.Execute(nil, nil) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.20.0+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Amazon
1
Perplexity
1
Resources
go-task-slim-sprig — go get go-task-slim-sprig · libregistry