Documentation ¶
Overview ¶
Package template wraps a common set of templates around text/template
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Opt ¶ added in v0.3.0
type Opt func(*gotemplate.Template) (*gotemplate.Template, error)
Opt allows options to be passed to templating functions
func WithFuncs ¶ added in v0.3.0
func WithFuncs(funcs gotemplate.FuncMap) Opt
WithFuncs includes additional template functions
Click to show internal directories.
Click to hide internal directories.