Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getMainModuleAnd114 (0.12 sec)

  1. src/cmd/doc/dirs.go

    			// Set -mod=vendor by default.
    			return mainMod, true, nil
    		}
    	}
    	return mainMod, false, nil
    }
    
    // getMainModuleAnd114 gets the main module's information and whether the
    // go command in use is 1.14+. This is the information needed to figure out
    // if vendoring should be enabled.
    func getMainModuleAnd114() (*moduleJSON, bool, error) {
    	const format = `{{.Path}}
    {{.Dir}}
    {{.GoVersion}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 9K bytes
    - Viewed (0)
Back to top