This version of Golang's text/template package has been modified to add new
features, designed to work as a replacement for the original.
.
It was created specifically for the go-task project to meet their needs,
and these features are not planned to be added to the original package unless
found broadly useful in the future.
.
One key feature is the ResolveRef, that lets developers provide data to a
template.Execute function to then retrieve specific values using go-template
syntax.
.
This overcomes a limitation in the original package's public API, which could
only return string representations of template values. ResolveRef is available
both as a package function and a method on the Template type.
Installed Size: 321.5 kB
Architectures: all