4 ms·
- that's an optional convention, and it is not always followed - not easy to search for this pattern. You are right that go interfaces give you some flexibili
by MichaelMoser123 6y ago
- that's an optional convention, and it is not always followed
- not easy to search for this pattern.
You are right that go interfaces give you some flexibility with mocking, but i still think it's a questionable choice.
- rowanseymour 6y agoIf the problem is finding implementations of an interface, that's provided by the standard tooling. If you're using VSCode just right-click on an interface and select Find All Implementations.
- MichaelMoser123 6y agoactually i was not using 'standard tooling'; was using vim with YouCompleteMe plugin for code completion. I couldn't get all the VSCode plugins to work well, somehow.