| 1 |
Source: golang-github-go-task-template |
| 2 |
Section: golang |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Go Packaging Team <[email protected]> |
| 5 |
Uploaders: Arthur Diniz <[email protected]> |
| 6 |
Rules-Requires-Root: no |
| 7 |
Build-Depends: debhelper-compat (= 13), |
| 8 |
dh-sequence-golang, |
| 9 |
golang-any |
| 10 |
Testsuite: autopkgtest-pkg-go |
| 11 |
Standards-Version: 4.7.0 |
| 12 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-go-task-template |
| 13 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-go-task-template.git |
| 14 |
Homepage: https://github.com/go-task/template |
| 15 |
XS-Go-Import-Path: github.com/go-task/template |
| 16 |
|
| 17 |
Package: golang-github-go-task-template-dev |
| 18 |
Architecture: all |
| 19 |
Multi-Arch: foreign |
| 20 |
Depends: ${misc:Depends} |
| 21 |
Description: Fork of text/template package with custom features (library) |
| 22 |
This version of Golang's text/template package has been modified to add new |
| 23 |
features, designed to work as a replacement for the original. |
| 24 |
. |
| 25 |
It was created specifically for the go-task project to meet their needs, |
| 26 |
and these features are not planned to be added to the original package unless |
| 27 |
found broadly useful in the future. |
| 28 |
. |
| 29 |
One key feature is the ResolveRef, that lets developers provide data to a |
| 30 |
template.Execute function to then retrieve specific values using go-template |
| 31 |
syntax. |
| 32 |
. |
| 33 |
This overcomes a limitation in the original package's public API, which could |
| 34 |
only return string representations of template values. ResolveRef is available |
| 35 |
both as a package function and a method on the Template type. |