diff --git a/.github/MAINTAINERS_GUIDE.md b/.github/MAINTAINERS_GUIDE.md index ab015dc4..a4ddd635 100644 --- a/.github/MAINTAINERS_GUIDE.md +++ b/.github/MAINTAINERS_GUIDE.md @@ -105,6 +105,38 @@ Confirm the installation worked right with: golangci-lint --version ``` +
+Troubleshooting + +#### Error: command not found: golangci-lint + +If you receive the following error: + +```bash +$ golangci-lint --version +command not found: golangci-lint +``` + +You may need to update your `$PATH` environment variable with `$GOPATH/bin`: +1. Open your terminal's configuration file (e.g. `~/.zshrc`): + + ```bash + $ vim ~/.zshrc + ``` + +2. Add the following: + + ```bash + export PATH=$PATH:$(go env GOPATH)/bin + ``` +3. Open a new terminal session (tab) or source your configuration file (`source ~/.zshrc`). +4. Run the following command: + + ```bash + $ golangci-lint --version + ``` +
+ #### VSCode Settings are already defined in this project for using the VSCode editor with