-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
proposal: cmd/go: enable to specify a version with @
like go run
and go install
#55012
Comments
@
like go run
and go instlal
@
like go run
and go install
Does this mean that go.mod in the current directory is ignored? So do you expect the executable module to be generated in the current directory even though go.mod does not exist? |
Yes, like
Yes. |
I don't disagree with this proposal, but note that you can sort of get a similar result via |
Good point, but this doesn't work with GOOS and GOARCH:
|
Huh, that's the first time I'm made aware of that error :) Then I take it back, it's not really a good substitute in general. |
Duplicate of #44469 |
Now
is not possible:
It would be useful and more consitent with other Go tools, if we could build with a specific version.
The text was updated successfully, but these errors were encountered: