Testing with Mocks, Fakes, and Monkeypatching in Go
There are times that code that needs to be unit tested contains code that interacts with things you do not want to run during a unit test. Interactions with expensive web services, hardware, production datastores,… »