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: missing `go install path@version` hint in `go run path@version` error #42087

eliasnaur opened this issue Oct 20, 2020 · 0 comments


Copy link

@eliasnaur eliasnaur commented Oct 20, 2020

#40276 implements go install support for the path@version syntax. However the error message from other commands only mention go get.

What version of Go are you using (go version)?

$ go version
go version devel +893f0a9e8f Tue Oct 20 11:01:46 2020 +0200 darwin/amd64

Does this issue reproduce with the latest release?


What did you do?

$ go run
package can only use path@version syntax with 'go get'

What did you expect to see?

The error mentioning go install

What did you see instead?

The error only mentioning go get

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.