Skip to content

Commit

Permalink
docs: update gocacheprog docs
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Goller <[email protected]>
  • Loading branch information
goller committed Feb 25, 2025
1 parent e57e88f commit aab5551
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,12 +268,12 @@ depot cache reset --project 12345678910

### `depot gocache`

Configure Go tools to use Depot remote cache.
The Go tools will store build artifacts in the Depot cache, and retrieve them from the cache when building again.
Configure Go tools to use Depot Cache. The Go tools will use the remote cache service to store and retrieve build artifacts.

This requires Go 1.24 or later.
_Note: This requires Go 1.24 or later._

Export the environment variable `GOCACHEPROG` to use the Depot cache.

Set the environment variable `GOCACHEPROG` to `depot gocache` to configure Go to use Depot Cache.

```shell
export GOCACHEPROG='depot gocache'
Expand Down

0 comments on commit aab5551

Please sign in to comment.