func golang.org/x/mod/module.SplitPathVersion
10 uses
golang.org/x/mod/module (current package)
module.go#L211: _, pathMajor, _ := SplitPathVersion(path)
module.go#L305: if _, _, ok := SplitPathVersion(path); !ok {
module.go#L487: func SplitPathVersion(path string) (prefix, pathMajor string, ok bool) {
golang.org/x/mod/modfile
rule.go#L662: _, major, ok := module.SplitPathVersion(path)
golang.org/x/pkgsite/internal
discovery.go#L94: seriesPath, _, _ := module.SplitPathVersion(modulePath)
discovery.go#L105: _, v, _ := module.SplitPathVersion(modulePath)
discovery.go#L114: seriesPath, v, ok := module.SplitPathVersion(modulePath)
golang.org/x/pkgsite/internal/frontend
header.go#L36: prefix, _, _ := module.SplitPathVersion(um.Path)
header.go#L93: prefix, _, _ = module.SplitPathVersion(pkgPath)
golang.org/x/pkgsite/internal/godoc/internal/doc
doc.go#L238: pathPrefix, _, _ := module.SplitPathVersion(path)
 |
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. |