golang.org/x/pkgsite/internal/worker.ServerConfig.StaticPath (field)
6 uses
golang.org/x/pkgsite/internal/worker (current package)
server.go#L67: StaticPath template.TrustedSource
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#L107: staticPath: scfg.StaticPath,
golang.org/x/pkgsite/cmd/worker
main.go#L111: StaticPath: template.TrustedSourceFromFlag(flag.Lookup("static").Value),
![]() |
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. |