Text file src/cmd/go/testdata/script/gotoolchain_version.txt
1 go list -m -versions go 2 stdout 1.20.1 # among others 3 stdout 1.19rc2 4 ! stdout go1.20.1 # no go prefixes 5 ! stdout go1.19rc2 6 7 go list -m -versions toolchain 8 stdout go1.20.1 # among others 9 stdout go1.19rc2 10