-
Notifications
You must be signed in to change notification settings - Fork 609
unable to install mockgen following the instructions in README #308
Comments
Thanks for finding this! I think this should be updated to a single step:
We should probably also suggest you set |
Mockgen is supported on above Go version < 1.16 Reference https://github.com/golang/mock#go-version--116 |
@ashu171996 mockgen currently works with 1.11+. |
the current installation instructions work fine for me, thanks |
Mockgen not working for me using: |
I had the same problem, and I just needed to make sure that $GOPATH/bin was being added to $PATH. |
add |
I'm unable to install
mockgen
following the instructions in https://github.com/golang/mock#installation:To make
go install
work, I had to also run:go get -v golang.org/x/tools/go/packages
. Alternatively, the following command works:go get -v -u github.com/golang/mock/mockgen
- maybe we could use it instead of the current pair ofgo get
andgo install
?go version
output:go version go1.12.6 linux/amd64
The text was updated successfully, but these errors were encountered: