You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
Actual behavior Mockgen was added in ~/src/go/bin/mockgen by installing it with GO111MODULE=on go get github.com/golang/mock/mockgen@v1.4.4, but no warnings were given that ~/src/go/bin is not part of PATH environment variables.
Expected behavior A clear and concise warning should be given to users when installing.
To Reproduce Steps to reproduce the behavior
GO111MODULE=on go get github.com/golang/mock/mockgen@v1.4.4
Additional Information
gomock mode (reflect or source):
gomock version or git ref: v1.4.4
golang version: go version go1.15.2 linux/amd64
Triage Notes for the Maintainers
The text was updated successfully, but these errors were encountered:
All go binaries are by default installed to $GOPATH/bin. It is common practice to add this location to your PATH. It is the responsibility of the user to do so.
There is no warning we could provide in the tooling, but we could add a note to our README. Feel free to open a PR if you are willing.
Actual behavior Mockgen was added in
~/src/go/bin/mockgen
by installing it withGO111MODULE=on go get github.com/golang/mock/mockgen@v1.4.4
, but no warnings were given that~/src/go/bin
is not part ofPATH
environment variables.Expected behavior A clear and concise warning should be given to users when installing.
To Reproduce Steps to reproduce the behavior
GO111MODULE=on go get github.com/golang/mock/mockgen@v1.4.4
Additional Information
Triage Notes for the Maintainers
The text was updated successfully, but these errors were encountered: