Documentation
¶
Overview ¶
Package templatez contains utilities for working with Go templates.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteTemplate ¶
ExecuteTemplate is a convenience function that constructs and executes a text template, returning the string value.
func NewTemplate ¶
NewTemplate returns a new text template, with the sprig functions already loaded.
func ValidTemplate ¶
ValidTemplate is a convenience wrapper around NewTemplate. It returns an error if the tpl is not a valid text template.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.