Skip to content

Encoding a template #1455

Answered by hairyhenderson
cschmatzler asked this question in Q&A
Discussion options

You must be logged in to vote

The template action is a bit odd in that it doesn't behave like regular template functions. As an alternative, there's tmpl.Exec, which should do what you want.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by cschmatzler
Comment options

You must be logged in to vote
1 reply
@hairyhenderson
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants