Skip to content

Commit

Permalink
cmd/go/internal: remove note about GOCACHE=off
Browse files Browse the repository at this point in the history
Setting GOCACHE=off is no longer allowed in upcoming releases of Go.

Fixes golang#29680
  • Loading branch information
thaJeztah committed Jan 11, 2019
1 parent a2e7957 commit 31e904f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/cmd/go/alldocs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/cmd/go/internal/help/helpdoc.go
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,6 @@ The default location for cache data is a subdirectory named go-build
in the standard user cache directory for the current operating system.
Setting the GOCACHE environment variable overrides this default,
and running 'go env GOCACHE' prints the current cache directory.
You can set the variable to 'off' to disable the cache.
The go command periodically deletes cached data that has not been
used recently. Running 'go clean -cache' deletes all cached data.
Expand Down

0 comments on commit 31e904f

Please sign in to comment.