Documentation ¶
Overview ¶
Package template consolidates various templating utilities used throughout different parts of vulcan.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
Apply reads a template string from the provided reader, applies variables from the provided request object to it and writes the result into the provided writer.
Template is standard Go's http://golang.org/pkg/text/template/.
func ApplyString ¶
ApplyString applies variables from the provided request object to the provided template string and writes the result into the provided writer.
Template is standard Go's http://golang.org/pkg/text/template/.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.