3 ms·
> regenerate them when the interface changes You don't need to do this in Go either. Embed the interface type in your mock type. You only need to implement fun
by ASinclair 5y ago
> regenerate them when the interface changes
You don't need to do this in Go either. Embed the interface type in your mock type. You only need to implement functions that will be called in the function under test.