Involved Source Files Package lazytemplate is a thin wrapper over text/template, allowing the use
of global template variables without forcing them to be parsed at init.
Package-Level Type Names (only one)
/* sort by: | */
Template is a wrapper around text/template.Template, where the underlying
template will be parsed the first time it is needed.(*Template) Execute(w io.Writer, data any) error
func New(name, text string) *Template
Package-Level Functions (only one)
New creates a new lazy template, delaying the parsing work until it is first
needed. If the code is being run as part of tests, the template parsing will
happen immediately.
The pages are generated with Goldsv0.7.0-preview. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds.