Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

PATH add example #644

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ contexts too.
Once you have [installed Go][golang-install], install the `mockgen` tool.

**Note**: If you have not done so already be sure to add `$GOPATH/bin` to your
`PATH`.
`PATH`, for example on Linux add to your `~/.bashrc`:
`export PATH="/home/$USER/go/bin:$PATH"`
Full path - with tilde will not work for some cases, for example when run from `go generate`.

To get the latest released version use:

Expand Down