Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for splitGopkgIn (0.3 sec)

  1. src/cmd/vendor/golang.org/x/mod/module/module.go

    	if dot || len(pathMajor) <= 2 || pathMajor[2] == '0' || pathMajor == "/v1" {
    		return path, "", false
    	}
    	return prefix, pathMajor, true
    }
    
    // splitGopkgIn is like SplitPathVersion but only for gopkg.in paths.
    func splitGopkgIn(path string) (prefix, pathMajor string, ok bool) {
    	if !strings.HasPrefix(path, "gopkg.in/") {
    		return path, "", false
    	}
    	i := len(path)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
Back to top