DBMcp: Refactoring to a Driver Interface
How I restructured DBMcp's multi-database support — replacing scattered if/else checks with a Go interface so adding a new driver only requires one new file.
Go/GolangDBMcpSoftware Design
Thoughts on Go, Rust, TypeScript, and building software that works. Deep dives into technical challenges, tutorials, and lessons learned from real projects.
How I restructured DBMcp's multi-database support — replacing scattered if/else checks with a Go interface so adding a new driver only requires one new file.
Build a type-safe sharded map in Go using fnv hashing and sync.RWMutex for fast, race-free concurrent access.
Learn Golang's concurrency control (errgroup), Context Propagation & Functional Options.
Welcome to my blog where I share thoughts on Go, Rust, TypeScript, and building software.