3 ms·
People really want to mock out dependencies in go, instead of architecting their application properly
by bouk 7y ago
People really want to mock out dependencies in go, instead of architecting their application properly
- onionisafruit 7y agoI’m all over using gomock to test my packages in isolation. I’ll just continue to do that with generated mocks instead of trying to monkeypatch a language that isn’t intended for that. I’m curious about your motivation for writing this. Did it start out as something legitimate and morphed into a joke when you wanted to see how far you can push it? Or were you taking the piss the whole time?
- bouk 7y agoTaking the piss 100%