| 1 |
[!net:proxy.golang.org] skip |
| 2 |
|
| 3 |
# In the Go project's official release GOPROXY defaults to proxy.golang.org, |
| 4 |
# but it may be changed in GOROOT/go.env (such as in third-party |
| 5 |
# distributions). |
| 6 |
# |
| 7 |
# Make sure it is in use here, because the server for releases not served |
| 8 |
# through the proxy (https://golang.org/toolchain?go-get=1) currently only |
| 9 |
# serves the latest patch release for each of the supported stable releases. |
| 10 |
|
| 11 |
[go-builder] env GOPROXY= |
| 12 |
[!go-builder] env GOPROXY=https://proxy.golang.org |
| 13 |
|
| 14 |
go list -m -versions go |
| 15 |
stdout 1.20.1 # among others |
| 16 |
stdout 1.19rc2 |
| 17 |
! stdout go1.20.1 # no go prefixes |
| 18 |
! stdout go1.19rc2 |
| 19 |
|
| 20 |
go list -m -versions toolchain |
| 21 |
stdout go1.20.1 # among others |
| 22 |
stdout go1.19rc2 |