/
README (full)
go-task/template
This is a forked version of Golang's standard text/template package. It is
designed to be a drop-in replacement for the original package with some
additional features. This package was created by the Task project to fulfil
their project-specific needs. These features are not intended to be merged into
the original package unless they are one day deemed useful enough.
Features
ResolveRef- This package function will allow the user to give a blob of data as they would normally totemplate.Executeand then retrieve a value from that blob using go-template syntax. This solves a limitation of the public API of the original package which meant that it was only ever possible to return a string representation of a value in a template. This function is also available as a method on theTemplatetype.
| dir | debian/ |
| dir | internal/ |
| dir | parse/ |
| dir | testdata/ |
| file | README.md |
| file | doc.go |
| file | example_test.go |
| file | examplefiles_test.go |
| file | examplefunc_test.go |
| file | exec.go |
| file | exec_test.go |
| file | funcs.go |
| file | go.mod |
| file | helper.go |
| file | multi_test.go |
| file | option.go |
| file | template.go |