Optimizing A Codebase By Porting It To Go? Mar 09, 2025'We ported this app to Go and see a 200% performance increase!' Just by porting the app line by line to Go? Probably not.
A Delve Debugger Cheatsheet Mar 02, 2025Debuggers tend to go overboard with features and subcommands. This Delve cheatsheet lists the most important commands that cover 90% of all use cases.
Killing Me Softly, Or: How Goroutines Want To Exit Feb 16, 2025POSIX threads have an array of control functions, goroutines have none. When to exit is a goroutine's decision. Here's how to properly stop them from the outside.
Avoid Anonymous Types Feb 09, 2025Anonymous types may seem like a suitable shortcut for simple scenarios, but the drawbacks don't outweigh the (perceived) benefits.
A New Error Handling Syntax Feb 02, 2025A proposed new syntax for error checking promises clearer code, but the syntax may lead to carelessly letting context-free errors bubble up the chain.
Weak Pointers Jan 26, 2025I would have called them modest pointers. They are unobtrusive and don't leave any garbage behind.
BART, The Little Routing Table Package That Became Indispensable Jan 20, 2025How a routing table implementation that the author wrote for in-house use became a sought-after package for networking apps.
Big Things Will Happen Jan 12, 2025You might feel powerless in the face of recent and upcoming disruptions. Think twice: Your Go skills are your secret weapon.
Distributing a Man Page With Goreleaser And Homebrew Dec 19, 2024Go CLI tools should come with a man page. Here is how to distribute a man page with Goreleaser and homebrew