Learn how to use Postgres native feature to coordinate work across several processes, acting as a mutex.
3 Minute Read
In this short post, we’ll look at a generic implementation of a mapper functions, and
how to extend it to support some common use cases.
4 Minute Read
This post explores an approach to unit testing database-dependent code by implementing a single backing Postgres instance and a disposable database for each test case.
2 Minute Read
In this article I’m going to walk through how I’ve been able to reduce boilerplate code and ensure that my handlers have consistent behavior across my application.
9 Minute Read
Error handling is a critical part of any software development project. In this post we’ll look at some of the common ways that you’ll handle errors in Go and a few of the common pitfalls that you’ll encounter.
6 Minute Read
A quick look at how to use custom marshaling in Go and why you might want to.
My go-to snippet for starting a simple HTTP client abstraction in Go.
Today I learned that it’s possible to slightly decouple your http handler tests from your chi router. Well sort of…
1 Minute Read
These resources have made all the difference in going from scratching my head, to actually writing an application that makes sense and that I’m excited to keep working on.