Skip to main content

Golang

2025


processing uk rail data in real-time

·6 mins
A Go service that consumes UK rail data from Kafka and persists it to PostgreSQL using table partitioning. Built with franz-go, it handles millions of daily messages while maintaining data consistency.

2024


golang and composition over inheritance

·6 mins
Recently, Andrew Cairns shared a post on Twitter/X featuring a shortened written version of his fantastic video, Composition over Inheritance Explained by Games.

you probably don't need to mock

·10 mins
With the clickbait title out of the way, we can discuss why mocking may not be as crucial for Go testing as commonly perceived.

continuous deployment with go and github actions

·11 mins
Practical guide to setting up automated deployments for Go applications using GitHub Actions and Fly.io, covering both staging and production pipelines with appropriate safety controls.

building your golang toolkit

·7 mins
After nearly 10 years of working with Go, including over 6 of those years as a full-time Go developer, I’ve come to rely on a set of tools and libraries that have significantly boosted my productivity.