← All writing

Go

9 articles

How to mock? Go Way.

How to use small interfaces, structs, and hand-written test doubles to isolate dependencies and write focused unit tests with Go's standard library.