Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(funcName string, backend TemplateFunc)
Register registers a named backend. The function parameters will be matched in the =% %= tags of backend specification.
func Visit ¶
func Visit(visitor func(funcName string, backend TemplateFunc))
Visit visits all the backends. The visitor is a function that is given a view of a function name bound to a generator function
Types ¶
type TemplateFunc ¶
TemplateFunc is the type of function exported / available to the scripting template
Click to show internal directories.
Click to hide internal directories.