Passing around database transactions
Contexts to the rescue!
Feb 15, 20243 min read
Search for a command to run...
Contexts to the rescue!
One of the things I often struggle with in my go applications is authorization. Lots of the tools out there are complex or made for use-cases much larger than my own. In a recent project I came up with a very simple approach. TLDR; Checkout a generic...

I was recently writing a client for a JSON-based API that had some unique behavior. The API lets you look up ham radio callsigns and their associated information. If the callsign exists you get back a JSON object with those details. The JSON of a val...
