Testable go with function types
A helpful pattern I've picked up writing test cases for go code is called Ports and Adapters. Skippin...
Tags: go, tdd, testing