Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/MAINTAINERS_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,38 @@ Confirm the installation worked right with:
golangci-lint --version
```

<details>
<summary>Troubleshooting</summary>

#### 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
```
Comment on lines +129 to +131
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗣️ This makes me wish each a $HOME/bin or similar was standard for the $PATH...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:nod: I agree!

3. Open a new terminal session (tab) or source your configuration file (`source ~/.zshrc`).
4. Run the following command:

```bash
$ golangci-lint --version
```
</details>

#### VSCode

Settings are already defined in this project for using the VSCode editor with
Expand Down
Loading