Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: go get module/pkg@master doesn't seem to work sometimes #37438
Here is a standalone reproducer:
It's minified from a real situation at work. You can see that https://github.com/grpc-ecosystem/go-grpc-prometheus/tree/master/packages/grpcstatus exists at master, but it didn't exist when 1.2.0 was tagged, which is the latest release.
The output is:
This message doesn't make sense to me. If I asked for
If I replace the commands for
I can confirm that something is strange here.
I can reproduce the same behavior with an explicit commit hash. Having the module already present at