golang.org/x/pkgsite/internal/frontend.Server.staticPath (field)
6 uses
golang.org/x/pkgsite/internal/frontend (current package)
badge.go#L26: http.ServeFile(w, r, fmt.Sprintf("%s/img/badge.svg", s.staticPath))
server.go#L44: staticPath template.TrustedSource
server.go#L90: staticPath: scfg.StaticPath,
server.go#L136: http.ServeFile(w, r, fmt.Sprintf("%s/img/favicon.ico", http.Dir(s.staticPath.String())))
server.go#L602: staticPath := s.staticPath.String()
styleguide.go#L38: page, err := styleGuide(ctx, s.staticPath.String())
![]() |
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. |