Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for pathIsStd (0.13 sec)

  1. src/cmd/go/internal/modload/import.go

    	}
    
    	// Check each module on the build list.
    	var dirs, roots []string
    	var mods []module.Version
    
    	// Is the package in the standard library?
    	pathIsStd := search.IsStandardImportPath(path)
    	if pathIsStd && modindex.IsStandardPackage(cfg.GOROOT, cfg.BuildContext.Compiler, path) {
    		for _, mainModule := range MainModules.Versions() {
    			if MainModules.InGorootSrc(mainModule) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
Back to top