Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for versionOkForMainModule (0.23 sec)

  1. src/cmd/go/internal/modget/query.go

    	}
    
    	if q.pattern == "all" {
    		// If there is no main module, "all" is not meaningful.
    		if !modload.HasModRoot() {
    			return fmt.Errorf(`cannot match "all": %v`, modload.ErrNoModRoot)
    		}
    		if !versionOkForMainModule(q.version) {
    			// TODO(bcmills): "all@none" seems like a totally reasonable way to
    			// request that we remove all module requirements, leaving only the main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 15:48:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top