Documentation
¶
Overview ¶
Package template provides tools to render template strings and template files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderFile ¶
RenderFile renders a template file with data.
func RenderText ¶
Render renders template text with data.
Types ¶
type Values ¶
type Values map[string]interface{}
Values are passed to templates while rendering.
func MergeValues ¶
MergeValues merges rhs on top of lhs without altering lhs. Returns a new Values map.
Click to show internal directories.
Click to hide internal directories.