github.com/google/safehtml/template.Template.ParseFilesFromTrustedSources (method)
8 uses
github.com/google/safehtml/template (current package)
template.go#L516: func (t *Template) ParseFilesFromTrustedSources(filenames ...TrustedSource) (*Template, error) {
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#L571: if _, err := t.ParseFilesFromTrustedSources(files...); err != nil {
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
template.go#L32: ParseFilesFromTrustedSources(
template.go#L38: ParseFilesFromTrustedSources(join(dir, tc("outline.tmpl"))))
template.go#L41: ParseFilesFromTrustedSources(join(dir, tc("sidenav-mobile.tmpl"))))
golang.org/x/pkgsite/internal/worker
server.go#L658: }).ParseFilesFromTrustedSources(templatePath)
![]() |
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. |