Documentation ¶
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 -
func (*Template) Exec ¶
Exec - execute (render) a template - this is the built-in `template` action, except with output...
func (*Template) Inline ¶
Inline - a template function to do inline template processing
Can be called 4 ways: {{ tmpl.Inline "inline template" }} - unnamed (single-use) template with default context {{ tmpl.Inline "name" "inline template" }} - named template with default context {{ tmpl.Inline "inline template" $foo }} - unnamed (single-use) template with given context {{ tmpl.Inline "name" "inline template" $foo }} - named template with given context
Click to show internal directories.
Click to hide internal directories.