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: add GOWORK env var mirroring GOMOD for the current workspace file #48589

Closed
mvdan opened this issue Sep 23, 2021 · 1 comment
Closed

cmd/go: add GOWORK env var mirroring GOMOD for the current workspace file #48589

mvdan opened this issue Sep 23, 2021 · 1 comment

Comments

@mvdan
Copy link
Member

@mvdan mvdan commented Sep 23, 2021

Split off from #45713 (comment). go env GOMOD will be useful to tell if workspace mode is currently active, what workspace file is currently being used, as well as being able to provide enough information when reporting bugs with go env.

Adding to the 1.18 milestone for the sake of reporting bugs.

@gopherbot
Copy link

@gopherbot gopherbot commented Oct 13, 2021

Change https://golang.org/cl/355689 mentions this issue: cmd/go: add GOWORK to go env command

@gopherbot gopherbot closed this in d944984 Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants