golang.org/x/pkgsite/internal/frontend.DirectoryInfo.Suffix (field)
12 uses
golang.org/x/pkgsite/internal/frontend (current package)
directory.go#L44: Suffix string
directory.go#L61: prefix := strings.SplitN(d.Suffix, "/", 2)[0]
directory.go#L66: if prefix != "internal" && (strings.HasSuffix(d.Suffix, "/internal") ||
directory.go#L67: strings.Contains(d.Suffix, "/internal/")) {
directory.go#L73: d.Suffix = strings.TrimPrefix(d.Suffix, prefix+"/")
directory.go#L74: if prefix == d.Suffix {
directory.go#L104: excludedSuffixes[dir.Suffix] = true
directory.go#L120: Suffix: suffix,
directory.go#L141: Suffix: internal.Suffix(pm.Path, um.Path),
directory.go#L145: sort.Slice(sdirs, func(i, j int) bool { return sdirs[i].Suffix < sdirs[j].Suffix })
 |
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. |