minus-squaretechnologenesis@programming.devtoGolang@programming.dev•Don't use mockslinkfedilinkEnglisharrow-up4·1 year agoMocking and dependency injection don’t seem to be mutually exclusive, if anything dependency injection can make it easier to get the component you’re texting to interface with the mock linkfedilink
Mocking and dependency injection don’t seem to be mutually exclusive, if anything dependency injection can make it easier to get the component you’re texting to interface with the mock