Golang and the revenge of Capt Obvious

I found a lot of my code (particularly the tests) had code that looked like this:

 

Then I was reading yet another great post from Karl Seguin and I noticed there was a much better (sexier) way.  Thanks again Karl!



Loading Facebook Comments ...