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 was archived by the owner on Jun 27, 2023. It is now read-only.
Requested feature
I have recently moved from testify/mockery to using GoMock for generating mocks, and simply having the mock aware of the types of my calls is great.
However, the arguments for Return() are always interface{}. Can gomock generate mocks that Return with types that match the underlying method?
This would make refactoring existing code a bit easier as invalid types returned from mocks would be straight compile errors rather than test failures, thus failing faster and with (imo) a clearer error message.