golang / mock

GoMock is a mocking framework for the Go programming language.
Apache License 2.0
9.32k stars 607 forks source link

Readme instructions of installation are slightly wrong #182

Closed egimbernat closed 6 years ago

egimbernat commented 6 years ago

The mockgen need to be installed instead of dowloaded and is necessary to have sudo permissions on default go installation.

sudo go install github.com/golang/mock/mockgen

I can do a pull request if needed

balshetzer commented 6 years ago

I've updated the instructions but not with sudo. I've never seen sudo needed before. I guess it depends on your setup.