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!
All Golang programmer’s are aware of how great “go get” is but until today I had not given much thought to how exactly it did or didn’t do. Some background; today one of my builds (in Travis CI) suddenly broke in a way that made no sense. After some quick debugging it became obvious that one of[…]
For those of you like me who Go is not the first language you learned, you might be familiar with “Enums” or “Enumerated Types”. While Go does not have an enum per-say you can achieve the same effect with very little effort. The manual has a very good example if perhaps a little complicated, so[…]