News for hackers. Stuff that matters.
Re:Ask HN: Modern Go Dev Setup by kingkongjaffa on Monday October 17, 2022 @09:23AM (#33233114)
> avoid mocks (have 'fakes' that match interface functions)

Can you explain a bit more about this?

Any articles I can dig into explaining the difference?

Re:Ask HN: Modern Go Dev Setup by sethammons on Thursday October 20, 2022 @10:13PM (#33283595)
Went on vacation and missed your question. I'm on a plane so I'll link to an article I wrote some time back. I'd write it differently now to be more clear:

https://sendgrid.com/blog/when-writing-unit-tests-dont-use-m...