If you're working with Go projects that use Go modules, you may be aware of the format of the go.mod and go.sum, which are used to track dependencies and their checksums respectfully.
For instance, if we take the following go.mod, you'll notice there are two sections for dependen...
If you're using Wiremock, sometimes you want to be able to quickly generate stub mappings from an existing server, rather than hand-crafting it yourself, to give you a like-for-like stub.
I've written the following - somewhat hacky - script to produce a Wiremock stub mapping from...
Every so often, engineers need to pick up a new language. After ~6 years of professional development using Java, with a bit of Ruby sprinkled in, coming to Deliveroo meant that I'd be starting to work on some Go codebases.
So when it came to accepting the offer, I ended up thinki...
Translating Rob Pike's simple and elegant C regex matcher to Go.
Since I joined Charm, I’ve been working
and learning more about SSH, and I thought I would share a few quick tips and
tricks with you.
In this post I'd like to talk about one of my favorite architectural patterns for building web applications and APIs in Go. It's kind of a mix between the service object and fat model patterns — so I mentally refer to it as the 'fat service' pattern, but it might have a mo...
Most tutorials on Go tooling (and probably most other tooling) tend to focus
on the happy path - the input code is perfectly valid and contains no errors.
This is often a reasonable assumption, because we tend to run tools
on existing code bases, and these are likely to compile c...