REST API Error Handling in GoHandling errors is really important in Go. Errors are first class citizens and there are many different approaches for handling them…Jun 21, 2021Jun 21, 2021
HTTP Logging and Go API Template UpdatesI built my first Go library! httplog provides middleware which logs http requests and responses along with a few other features I find…Oct 13, 2018Oct 13, 2018
Basic Redis Examples with GoRedis is pretty great. It is the #1 most loved database for the second year in a row, according to a recent Stack Overflow survey. I…Jul 18, 20181Jul 18, 20181
Containerizing a Go API with Docker For MacI’m working through creating a RESTful API template. As part of it, I want to be able to “Containerize” my app using docker and deploy it…Apr 6, 20181Apr 6, 20181
HTTP JSON Error Responses in GoI like simple structured messages using JSON in error responses, similar to Stripe, Uber and many others…Mar 18, 2018Mar 18, 2018