-
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
cmd/go: go env should include GO111MODULE #29656
Comments
|
cc @bcmills for decision since you're asking for 1.12 which is almost done. |
Why do you need it from It would make module-related issues a bit easier to report, but at this point that seems like relatively little gain, and the environment variable hopefully won't be around forever. |
OK, it is just a little problem. Close it. |
@bcmills , Ah ... I may have accidentally skip this when searching for issue. My bad. If I can argue, even its temporary, there are quite long time range before GO111MODULE will be removed (unused). The next release is still default to auto [1], and until Go 1.13 unsupported (two releases after that) there is about one and half years after that. Since the change is not that big (one line) [2], maybe temporary adding it to BTW, thank you for reviewing the CL. [1] #31857 |
CC @jayconrod |
Why is |
Change https://golang.org/cl/176837 mentions this issue: |
Yes please, if only so it shows up in 'go bug' reports so we can better diagnose problems. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I have already set the environment variable GO111MODULE to on, but there's no GO111MODULE printed in
go env
.What did you expect to see?
go env should print GO111MODULE in Go1.11/1.12...
What did you see instead?
No GO111MODULE printed in
go env
.The text was updated successfully, but these errors were encountered: