loading...

re: Why is GO111MODULE everywhere, and everything about Go Modules VIEW POST

FULL DISCUSSION
 

Great post, thanks for sharing. One question. We use GO111MODULE=off to install tools like goimport and not to pollute our go.mod file:

GO111MODULE=off go get -u golang.org/x/tools/cmd/goimports

How is it worse than:

(cd && GO111MODULE=on go get -u golang.org/x/tools/cmd/goimports)

?

code of conduct - report abuse