Skip to content

Commit e88ea87

Browse files
author
Jay Conrod
committed
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 <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Michael Matloob <[email protected]>
1 parent 3a43226 commit e88ea87

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/cmd/go/alldocs.go

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cmd/go/internal/help/helpdoc.go

+2
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,8 @@ General-purpose environment variables:
493493
GOCACHE
494494
The directory where the go command will store cached
495495
information for reuse in future builds.
496+
GOMODCACHE
497+
The directory where the go command will store downloaded modules.
496498
GODEBUG
497499
Enable various debugging facilities. See 'go doc runtime'
498500
for details.

0 commit comments

Comments
 (0)