Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NeedSwitch (0.08 sec)

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

    			for _, cs := range q.candidates {
    				sw.Error(cs.err)
    			}
    		}
    		// Only switch if we need a newer toolchain.
    		// Otherwise leave the cs.err for reporting later.
    		if sw.NeedSwitch() {
    			sw.Switch(ctx)
    			// If NeedSwitch is true and Switch returns, Switch has failed to locate a newer toolchain.
    			// It printed the errors along with one more about not finding a good toolchain.
    			base.Exit()
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
Back to top