News for hackers. Stuff that matters.
Re:Back to basics: Writing an application using Go and Postg... by jrockway on Tuesday November 23, 2021 @06:17AM (#29316538)
Quite reasonable! I think if you keep your interfaces small, you might not need it, but if you do have a couple of beefy interfaces, then this is a lot more pleasant than using a dedicated mock framework. A function is a great way to mock a function -- you can do anything! ;)

There are no comments on this comment yet.