Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
proposal: testing: implement io.Writer with T and B #28778
Tests that have to create a
This implies test writers have to either wrap
This will allow developers to simply create a
I usually solve this the other way round:
Then I log to the Logger interface, rather than to the *log.Logger directly.