Dan Gillis·Jun 21, 2021REST 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…
Dan Gillis·Oct 13, 2018HTTP 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…
Dan Gillis·Jul 18, 2018Basic 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…A response icon1A response icon1
Dan Gillis·Apr 6, 2018Containerizing 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…A response icon1A response icon1
Dan Gillis·Mar 18, 2018HTTP JSON Error Responses in GoI like simple structured messages using JSON in error responses, similar to Stripe, Uber and many others…