Documentation ¶
Overview ¶
Package template wraps the golang "text/template" package to provide an enhanced template generator.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Template ¶
type Template struct {
// contains filtered or unexported fields
}
Template holds an executable go template. See https://golang.org/pkg/text/template/
func FromFile ¶
FromFile loads the template file at path and builds and returns a Template using the file content
func FromString ¶
FromString returns a Template with the given name from content
Click to show internal directories.
Click to hide internal directories.