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),