LittleLeveragesUse `context.Context` for structured logging in Go services (with example)Benefit from structured logging with minimal effortMay 17May 17
LittleLeveragesWhat even is “Dependency Injection”? (using Go)It’s simpler than it sounds. See what it looks like and understand how simple it can really be.Feb 261Feb 261
LittleLeveragesHow to use Interfaces in Go — a practical exampleHow to use interfaces to write better code and better tests, with code examples. I wish I had read something this simple when I started.Feb 182Feb 182
LittleLeveragesHow to structure Go projectGo is an opinionated language but when it comes to project structure you are on your own! It was pretty confusing to me but all you need…Feb 131Feb 131
LittleLeveragesUnit testing your database interactions with Docker in GoYesterday I responded to a thread on Reddit where a user asked how people test their database interactions. There’s a lot of different ways…Mar 25, 2023Mar 25, 2023