text/template.Template.Funcs (method)
6 uses
text/template (current package)
template.go#L170: func (t *Template) Funcs(funcMap FuncMap) *Template {
github.com/google/safehtml/template
escape.go#L753: e.template(name).Funcs(funcs)
template.go#L392: t.text.Funcs(template.FuncMap(funcMap))
golang.org/x/pkgsite/internal/godoc/codec
generate.go#L89: return template.Must(template.New(name).Delims("«", "»").Funcs(funcs).Parse(body))
html/template
escape.go#L806: e.template(name).Funcs(funcMap)
template.go#L346: t.text.Funcs(template.FuncMap(funcMap))
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |