func golang.org/x/mod/module.SplitPathVersion
3 uses
golang.org/x/mod/module (current package)
module.go#L227: _, pathMajor, _ := SplitPathVersion(path)
module.go#L338: if _, _, ok := SplitPathVersion(path); !ok {
module.go#L537: func SplitPathVersion(path string) (prefix, pathMajor string, ok bool) {
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)