Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for urlForImportPath (0.19 sec)

  1. src/cmd/go/internal/vcs/vcs.go

    		}
    
    		return httpURL, true
    	}
    	return "", false
    }
    
    // urlForImportPath returns a partially-populated URL for the given Go import path.
    //
    // The URL leaves the Scheme field blank so that web.Get will try any scheme
    // allowed by the selected security mode.
    func urlForImportPath(importPath string) (*urlpkg.URL, error) {
    	slash := strings.Index(importPath, "/")
    	if slash < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 46.2K bytes
    - Viewed (0)
Back to top