modules: Set GO111MODULE=on

Fixes #6114
This commit is contained in:
Bjørn Erik Pedersen 2019-07-26 10:55:50 +02:00
parent da4c4a7789
commit e5fe378925
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -79,6 +79,7 @@ func NewClient(cfg ClientConfig) *Client {
config.SetEnvVars(&env,
"PWD", cfg.WorkingDir,
"GO111MODULE", "on",
"GOPROXY", mcfg.Proxy,
"GOPRIVATE", mcfg.Private,
"GONOPROXY", mcfg.NoProxy)