github.com/google/safehtml/template.TrustedSource.String (method)
13 uses
github.com/google/safehtml/template (current package)
template.go#L584: return parseGlob(nil, pattern.String())
template.go#L620: return parseGlob(t, pattern.String())
trustedsource.go#L63: return TrustedSource{filepath.Join(string(dir), src.String(), filename)}, nil
trustedsource.go#L95: func (t TrustedSource) String() string {
trustedsource.go#L102: ret = append(ret, p.String())
golang.org/x/pkgsite/internal/frontend
server.go#L136: http.ServeFile(w, r, fmt.Sprintf("%s/img/favicon.ico", http.Dir(s.staticPath.String())))
server.go#L574: templates[set[0].String()] = t
server.go#L595: templates[set[0].String()] = t
server.go#L602: staticPath := s.staticPath.String()
styleguide.go#L38: page, err := styleGuide(ctx, s.staticPath.String())
golang.org/x/pkgsite/internal/worker
server.go#L211: handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir(s.staticPath.String()))))
server.go#L643: if staticPath.String() == "" {
server.go#L647: return template.New(filename.String()).Funcs(template.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. |