Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FindGoMod (0.26 sec)

  1. src/cmd/go/internal/toolchain/select.go

    	// Do not try to load the file in that case
    	if _, err := os.Stat(file); err != nil {
    		file = ""
    	}
    	if file == "" {
    		file = modload.FindGoMod(wd)
    	}
    	if file == "" {
    		return "", "", ""
    	}
    
    	data, err := os.ReadFile(file)
    	if err != nil {
    		base.Fatalf("%v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top