This article was originally published on the Deliveroo engineering blog.
I'm Jamie, and I recently joined the Care Applications team as a Senior Software Engineer. In Care Applications we build and maintain software that connects consumers, riders, restaurants and agents, making...
The problem
Let's say we're building a RESTful API and want to be able to produce several errors of the following consistent format. We want to create a specific type per error, so we can more easily write some code like so:
err := NewErrInternal()
if e, ok := err.(*ErrInvalidRe...
If you're writing Go tests that interact with an API, at some point you'll want to fully test your built API, but don't necessarily want to have the server actually running + interacting with real dependencies.
For instance, you may be wanting to use a generated OpenAPI client, b...
I'm a big fan of feed formats like RSS/Atom, Microformats2 and JSON feed, and like to use a feed reader as my primary reading source.
One of the great things about things like I mentioned in Make Your RSS Feed Discoverable is that there are built-in ways that you can make them au...
Update 2025-01-29: it's worth reading my morer recent post, Go 1.24's go tool is one of the best additions to the ecosystem in years, which goes into the path forwards, from the upcoming Go 1.24 release.
When working with Go codebases, it's likely that you'll be delegating some f...
A conversation about maintaining OSS and other software-related topics.
Introduction
A blockchain is an integrated solution of different computer science problems in the form of a single, append-only, publicly available, transparent, and cryptographically auditable database that runs in a distributed and decentralized environment.
I’ve heard many t...
I wanted to share a quick thing that made my life easier on tmux lately, but before we dig into that, I feel like I need to explain how I usually work.