Login
From:
Alex Pliutau Blog
(Uncensored)
subscribe
Writing testable Go code
https://pliutau.com/writing-testable-go-code/
links
backlinks
Roast topics
Find topics
Find it!
When I say “testable code”, what I mean is code that can be easily programmatically verified. We can say that code is testable when we don’t have to change the code itself when we’re adding a unit test to it.