Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
Loader loads and holds parsed handlebars templates.
func NewLoader ¶
func NewLoader(opts LoaderOpts) *Loader
NewLoader creates a new instance of Loader.
func (*Loader) LoadTemplate ¶
LoadTemplate implements core.TemplateLoader.
func (*Loader) LoadTemplateAt ¶
LoadTemplateAt implements core.TemplateLoader.
func (*Loader) RegisterHelper ¶
RegisterHelper declares a new template helper to be used with this loader only.
type LoaderOpts ¶
Click to show internal directories.
Click to hide internal directories.