gomock
gomock copied to clipboard
Fork of gomock from https://code.google.com/p/gomock/
Sometimes need to return a different value for different input arguments. I think it would be more convenient. Example: ``` func TestRead(t *testing.T) { mockCtrl := gomock.NewController(t) defer mockCtrl.Finish() mockObj...
One more addition...a `Substr()` matcher for matching strings, errors, and `Stringer`s.
I want to use [Sourcegraph code search and code review](https://sourcegraph.com) with gomock. A project maintainer needs to enable it to set up a webhook so the code is up-to-date there....