Skip to content

Testing golang templates including sprig template functions.

License

Notifications You must be signed in to change notification settings

bjkastel/go-template-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-template-tester

Testing golang templates including sprig template functions.

Usage:

./go-template-tester [TEMPLATE] [INPUT]...

Example:

# ./go-template-tester "{{ . | lower | replace \"a\" \"d\" }}" "ACdc" "AbCdE"
ACdc : dcdc
AbCdE: dbcde

Build go-template-tester

# go get
# go build

About

Testing golang templates including sprig template functions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages