Software Developer at IBM. Quality Pirate, Cloud Foundry Open Source Contributor. Opinions are my own.
Recently, I was doing some refactoring on existing Go code and eventually ended up with this code:
Following my last post “Correct Error Handling is Hard” I had an interesting discussion on Twitter and got interesting comments in the comments section, which I want to use as an opportunity for another post.