Original post

I wanted to explain how to use interfaces to mock against concrete third party libraries to a coworker and ended up just making a very simple repository with the bare minimum. I thought it might be useful to someone else out there:

https://github.com/Evertras/go-interface-mock-demo