golang.org/x/pkgsite/internal/source.urlTemplates.File (field)
13 uses
golang.org/x/pkgsite/internal/source (current package)
source.go#L90: return expand(i.templates.File, map[string]string{
source.go#L487: File: file,
source.go#L578: File: "{repo}/tree/{commit}/{file}",
source.go#L626: File: "https://gotools.org/{importPath}?rev={commit}#{base}",
source.go#L635: File: "{repo}/b/master/t/{dir}f={file}.html",
source.go#L713: File string // URL template for a file, with {repo}, {importPath}, {commit}, {file}, {base}.
source.go#L721: File: "{repo}/blob/{commit}/{file}",
source.go#L728: File: "{repo}/src/{commit}/{file}",
source.go#L734: File: "{repo}/src/{commit}/{file}",
source.go#L740: File: "{repo}/+/{commit}/{file}",
source.go#L746: File: "{repo}/-/blob/{commit}/{file}",
source.go#L752: File: "{repo}/tree/{file}?{commit}",
source.go#L758: File: "{repo}/+/{commit}:{file}",
 |
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. |