Skip to content

Commit

Permalink
Add Go env vars to setup guide (#10496)
Browse files Browse the repository at this point in the history
  • Loading branch information
rileykarson authored Apr 19, 2024
1 parent d16a921 commit 70b00c2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/content/get-started/generate-providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ If you are familiar with Docker or Podman, you may want to use the experimental
rbenv install 3.1.0
```
1. [Install go](https://go.dev/doc/install)
1. Add the following values to your environment settings such as `.bashrc`:
```bash
# Add GOPATH variable for convenience
export GOPATH=$(go env GOPATH)
# Add Go binaries to PATH
export PATH=$PATH:$(go env GOPATH)/bin
```
1. Install goimports
```bash
go install golang.org/x/tools/cmd/goimports@latest
Expand Down

0 comments on commit 70b00c2

Please sign in to comment.