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

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)