github.com/google/safehtml/template.Template.Funcs (method)

8 uses

	github.com/google/safehtml/template (current package)
		template.go#L391: func (t *Template) Funcs(funcMap FuncMap) *Template {

	golang.org/x/pkgsite/internal/frontend
		server.go#L558: 		t, err := template.New("base.tmpl").Funcs(templateFuncs).ParseFilesFromTrustedSources(join(base, tsc("html"), tsc("base.tmpl")))
		server.go#L581: 		t, err := template.New("base.tmpl").Funcs(templateFuncs).ParseFilesFromTrustedSources(join(base, tsc("base/base.tmpl")))

	golang.org/x/pkgsite/internal/godoc/dochtml
		dochtml.go#L129: 		t := template.Must(tmpl.Clone()).Funcs(funcs)
		template.go#L31: 			Funcs(tmpl).
		template.go#L37: 			Funcs(tmpl).
		template.go#L40: 			Funcs(tmpl).

	golang.org/x/pkgsite/internal/worker
		server.go#L647: 	return template.New(filename.String()).Funcs(template.FuncMap{