Going with Go
2024
The Two Reasons I Prefer Passing Struct Pointers Around
Choosing consistency over performance.
2023
Focus on the Happy Path With Step Functions
A simple pattern that will help you reduce error handling, while keeping your Go code simple and idiomatic.
What Color is Your Type?
My struggle to choose the right type semantic and keep code consistent at the same time.
Digging into Service Weaver: Dependency Injection
Did Google reinvent both EJBs and Spring in Go?
Create Robust "Enums" in Go
While Go doesn’t have proper enums, you can create a more robust enum-like construct using interfaces and structs.
Things to Consider When Going With sqlc
sqlc is a fantastic time and boilerplate saver, but is not a one-size-fits-all solution. Here are a few drawbacks I think people should be aware of.
Partially-Implemented Interfaces in Go
When you just want to implement one or two methods … but be careful.
User or *User - Do We Need Struct Pointers Everywhere?
A bit of up-front thinking can help make our Go code cleaner and more performant.