Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewTemplateInput ¶
type NewTemplateInput struct { Source string Contents string LeftDelim string RightDelim string ErrMissingKey bool Options map[string]string }
NewTemplateInput represents the input to a new Template
type Template ¶
type Template struct {
// contains filtered or unexported fields
}
Template is the internal representation of a template
func NewTemplate ¶
func NewTemplate(i *NewTemplateInput) (*Template, error)
NewTemplate generates a new template
Click to show internal directories.
Click to hide internal directories.