From 196219c4b9e8d8818a6d08f9bf6564bca7c1b6db Mon Sep 17 00:00:00 2001 From: Riley Karson Date: Fri, 19 Apr 2024 12:02:39 -0700 Subject: [PATCH] Add Go env vars to setup guide (#10496) --- docs/content/get-started/generate-providers.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/content/get-started/generate-providers.md b/docs/content/get-started/generate-providers.md index 2a6e24e4fb69..52a281550dfd 100644 --- a/docs/content/get-started/generate-providers.md +++ b/docs/content/get-started/generate-providers.md @@ -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