Skip to main content

Golang

2026


Introducing jjw: a workspace manager for jj

·4 mins
I released jjw, a Go CLI for managing jj workspaces with bookmarks and lifecycle hooks. This post explains why I built it, how it works, and how to get started.

2025


Building an MQTT client in Go

·9 mins
Build a robust MQTT client in Go with real Home Assistant examples. Covers concurrent processing, wildcard matching, and device integrations including Aqara sensors and EV charging data.

Go 1.24's new tool directive in go.mod

·3 mins
Go 1.24 introduces the tool directive in go.mod, letting you declare project tools as proper dependencies instead of using the tools.go hack. Here’s how to use it.

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


PostgreSQL table partitioning with Go

·3 mins
Implement date-based PostgreSQL table partitioning with Go code examples. Covers partition creation, data routing, query optimisation, and automating partition management.