func github.com/google/safehtml/template.TrustedSourceFromConstant
9 uses
github.com/google/safehtml/template (current package)
trustedsource.go#L45: func TrustedSourceFromConstant(src stringConstant) TrustedSource {
golang.org/x/pkgsite/internal/frontend
server.go#L83: docTemplateDir := template.TrustedSourceJoin(templateDir, template.TrustedSourceFromConstant("html"),
server.go#L84: template.TrustedSourceFromConstant("doc"))
server.go#L538: tsc := template.TrustedSourceFromConstant
golang.org/x/pkgsite/internal/godoc/dochtml
template.go#L29: tc := template.TrustedSourceFromConstant
golang.org/x/pkgsite/internal/worker
server.go#L79: t1, err := parseTemplate(scfg.StaticPath, template.TrustedSourceFromConstant(indexTemplate))
server.go#L83: t2, err := parseTemplate(scfg.StaticPath, template.TrustedSourceFromConstant(versionsTemplate))
server.go#L87: dochtml.LoadTemplates(template.TrustedSourceJoin(scfg.StaticPath, template.TrustedSourceFromConstant("html/doc")))
server.go#L646: templatePath := template.TrustedSourceJoin(staticPath, template.TrustedSourceFromConstant("html/worker"), filename)
![]() |
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. |