Minimal Go HTTP Servers

Minimal Go HTTP Servers
Hi there. In this post, I’m going to go over a couple snippets of minimal HTTP servers that I use from time to time when I’m tinkering with Go.
Read more →

Go Adapter Pattern Part 3: Service Handlers

Go Adapter Pattern Part 3: Service Handlers
This is the third in my series of posts showcasing how to use the “adapter pattern” in Go. If you missed the earlier entries in this series, you should take a look at Part 1 and Part 2. This is the third and likely final component of the series; I’m going to show how you can structure handlers on your HTTP server in a way that plays nice with the patterns described in the previous posts. The inspiration for this post comes from Mat Ryer’s talk here.
Read more →