You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ go install golang.org/dl/go1.20@latest
$ go1.20 download
What did you expect to see?
I hope that the address for downloading the installation package (https://dl.google.com/go/) can be customized, like GOPROXY, because my development environment cannot connect to dl.google.com/go, but we have a mirror site can replace it.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Installing multiple Go versions
$ go install golang.org/dl/go1.20@latest
$ go1.20 download
What did you expect to see?
I hope that the address for downloading the installation package (https://dl.google.com/go/) can be customized, like GOPROXY, because my development environment cannot connect to dl.google.com/go, but we have a mirror site can replace it.
What did you see instead?
I got an error:
go1.20: download failed: Head "https://dl.google.com/go/go1.20.linux-amd64.tar.gz": dial tcp 172.217.24.110:443: i/o timeout
and i found a hardcoded address at
dl/internal/version/version.go
versionArchiveURLThe text was updated successfully, but these errors were encountered: