Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: go get mod/... fails to resolve version #31518

rsc opened this issue Apr 17, 2019 · 1 comment


None yet
2 participants
Copy link

commented Apr 17, 2019

This used to work but now fails:

$ go get -d
go: finding latest
go get no matching versions for query "latest"

@rsc rsc added this to the Go1.13 milestone Apr 17, 2019


This comment has been minimized.

Copy link

commented Apr 17, 2019

I changed this yesterday in CL 171138, so I might have broken something. go get -d is actually one of the test cases though, so I'm surprised it doesn't work.

How can I reproduce this? The commands below succeeded for me at tip:

export GOPATH=$(mktemp -d)
cd $(mktemp -d)
go mod init m
go get
go: finding v1.5.2
go: downloading v1.5.2
go: extracting v1.5.2
go: finding v1.3.0
go: finding v0.0.0-20170915032832-14c0d48ead0c
go: downloading v1.3.0
go: extracting v1.3.0
go: downloading v0.0.0-20170915032832-14c0d48ead0c
go: extracting v0.0.0-20170915032832-14c0d48ead0c

@jayconrod jayconrod self-assigned this Apr 17, 2019

@jayconrod jayconrod added the modules label Apr 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.