Bug#1072053: ITP: golang-github-go-task-template -- Fork of Golang's text/template package with custom features for go-task (library)
Package: wnpp
Severity: wishlist
Owner: Arthur Diniz <[email protected]>
* Package name : golang-github-go-task-template
Version : 0.0~git20240422.8f6b279-1
Upstream Author : Task
* URL : https://github.com/go-task/template
* License : TODO
Programming Lang: Go
Description : Fork of Golang's text/template package with custom features for go-task (library)
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.
Reply to: