Json API errors with GO

I spend a lot of time writing microservices in Go. Therefore, I found myself needing a concrete way to hand errors back to the client that was predictable and repeatable. So I decided to follow the error response structure from https://jsonapi.org/format/#errors. This spec makes it very clear and concise to where the client can always expect a well formatted response that will never stray. A few notable takeaways with this spec are:...

November 25, 2018 · David Dymko
Photo by Ricardo Gomez Angel on Unsplash

Deploying Docker & Go to AWS Beanstalk

Recently, I had an opportunity to deploy a Go application into AWS Elastic Beanstalk, and I was surprised at how painless the deployment was. Without having to worry about infrastructure issues, I was able to get my Go app deployed. Below is a break down, from start to finish, on how to get a simple Go app out to Elastic Beanstalk using docker. Prerequisites Before we get started, there are a few things that need to be setup/installed:...

October 11, 2018 · David Dymko