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.
All generated mocks of a package will reside in a single file. Currently if you need to mock just a couple of interfaces, you might run mockgen for every single file in the package. This leads to many unneeded files. Some of them don't contain any mocks. Additionally you cannot do it in a single mockgen call but have to loop in a script file.
It makes straightforward to mock specific private interfaces. Currently all interfaces from the source file will be mocked, even if some of them are not required to be mocked.
Last but not least, it is consistent with the reflect mode.