golang.org/x/pkgsite/internal/source.urlTemplates.Directory (field)
13 uses
golang.org/x/pkgsite/internal/source (current package)
source.go#L76: return strings.TrimSuffix(expand(i.templates.Directory, map[string]string{
source.go#L486: Directory: rep.Replace(sm.dirTemplate),
source.go#L577: Directory: "{repo}/tree/{commit}/{dir}",
source.go#L625: Directory: "https://gotools.org/{importPath}?rev={commit}",
source.go#L634: Directory: "{repo}/b/master/t/{dir}",
source.go#L712: Directory string // URL template for a directory, with {repo}, {importPath}, {commit}, {dir}.
source.go#L720: Directory: "{repo}/tree/{commit}/{dir}",
source.go#L727: Directory: "{repo}/src/{commit}/{dir}",
source.go#L733: Directory: "{repo}/src/{commit}/{dir}",
source.go#L739: Directory: "{repo}/+/{commit}/{dir}",
source.go#L745: Directory: "{repo}/-/tree/{commit}/{dir}",
source.go#L751: Directory: "{repo}/tree/{dir}?{commit}",
source.go#L757: Directory: "{repo}/+/{commit}:{dir}",
 |
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. |