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

set GO111MODULE=off when installing tools #2253

Merged
merged 1 commit into from
May 2, 2019

Conversation

bhcleek
Copy link
Collaborator

@bhcleek bhcleek commented May 1, 2019

Set GO111MODULE=off when installing tools, because some tools'
(gometalinter and golangci-lint at this writing) won't install in module
mode.

Add a new function, go#util#SetEnv, to make it easy to set and restore
environment variables correctly.

Fixes #2248

@bhcleek bhcleek force-pushed the install-module-mode branch 2 times, most recently from 1d1017b to accdb09 Compare May 1, 2019 05:47
Set GO111MODULE=off when installing tools, because some tools'
(gometalinter and golangci-lint at this writing) won't install in module
mode.

Add a new function, go#util#SetEnv, to make it easy to set and restore
environment variables correctly.

Fixes fatih#2248
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some binaries require GOPATH mode to be installed
2 participants