diff options
Diffstat (limited to 'modules/client.go')
-rw-r--r-- | modules/client.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/client.go b/modules/client.go index 17e149ecf..fe0abc462 100644 --- a/modules/client.go +++ b/modules/client.go @@ -90,6 +90,7 @@ func NewClient(cfg ClientConfig) *Client { "GOPRIVATE", mcfg.Private, "GONOPROXY", mcfg.NoProxy, "GOPATH", cfg.CacheDir, + "GOWORK", mcfg.Workspace, // Requires Go 1.18, see https://tip.golang.org/doc/go1.18 // GOCACHE was introduced in Go 1.15. This matches the location derived from GOPATH above. "GOCACHE", filepath.Join(cfg.CacheDir, "pkg", "mod"), ) |