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
mockgen generated mocks are now expected to be:
* in the same directory as the _test.go files
* suffixed _mock_test.go, so they are handled correctly by the go
tooling (ignored during build, coverage calculation etc.)
* in the same package as the _test.go files
Example:
mockgen -source=foo.go -package=foo_test -destination=foo_mock_test.go -write_generate_directive
0 commit comments