-
Notifications
You must be signed in to change notification settings - Fork 18k
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: use go.mod to define the required version of Go #26499
Comments
You mean let modules specify the minimum Go version required to build them? Or perhaps to run them too? Would this be just a major version like |
Also note that this is somewhat possible with build tags already, such as |
Hello @mvdan |
That's right it would actually be the same as |
Wouldn't this lead to something like a version manager ? (ala ruby version manager ) 👎 |
Looks like this is duplicate of #23969. |
You're right @rajender, thanks for noticing. |
Hello,
Looking at the
modules
features introduced in GoLang 1.11 (proposal), I think we are missing the ability to fix the minimum GoLang version for the module.Best regards,
The text was updated successfully, but these errors were encountered: