From: Jay Conrod Date: Tue, 7 Jul 2020 18:17:30 +0000 (-0400) Subject: cmd/go: include GOMODCACHE in 'go help environment' X-Git-Tag: go1.15rc1~12 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e88ea87e7b886815cfdadc4cd3d70bf5ef833bd7;p=gostls13.git cmd/go: include GOMODCACHE in 'go help environment' Updates #34527 Fixes #40089 Change-Id: Ie9c8573536e5c31e874d755f4d888ffc805b796f Reviewed-on: https://go-review.googlesource.com/c/go/+/241275 Run-TryBot: Jay Conrod TryBot-Result: Gobot Gobot Reviewed-by: Michael Matloob --- diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index 2316fb9991..68bad3cff1 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -1700,6 +1700,8 @@ // GOCACHE // The directory where the go command will store cached // information for reuse in future builds. +// GOMODCACHE +// The directory where the go command will store downloaded modules. // GODEBUG // Enable various debugging facilities. See 'go doc runtime' // for details. diff --git a/src/cmd/go/internal/help/helpdoc.go b/src/cmd/go/internal/help/helpdoc.go index b937a6155e..e1f0521ea4 100644 --- a/src/cmd/go/internal/help/helpdoc.go +++ b/src/cmd/go/internal/help/helpdoc.go @@ -493,6 +493,8 @@ General-purpose environment variables: GOCACHE The directory where the go command will store cached information for reuse in future builds. + GOMODCACHE + The directory where the go command will store downloaded modules. GODEBUG Enable various debugging facilities. See 'go doc runtime' for details.