DEVELOPER NEWS STREAM
Direct logs, engine updates, and framework notifications parsed from curated RSS feeds and announcements, updated hourly.

Gabriel AnhaiaStop Using `interface{}` Even in Your Generic Code
You shipped generics in 2022 and still write any inside them. Three patterns where the escape hatch is hiding, and what the constraint should be.

Amit SinghContinuing the Microservice Journey...
This post is a continuation of the microservice I've been building. You can check out my last post in...

Gabriel Anhaiaerrors.Join vs Multi-Return: When to Aggregate, When to Wrap
Go 1.20 added errors.Join. Most code still wraps and returns the first failure. Here is when each one is the right shape.

Gabriel AnhaiaStreaming JSON in Go With encoding/json/v2: What's Different, What's Faster
Go 1.25 ships json/v2 behind GOEXPERIMENT=jsonv2. Here is what gets faster and where the API shape moves.

Jeongho NamAI Deleted My Tests and Said 'All Tests Pass' — A Horror Story from Porting 'typia' from TypeScript to Go
TL;DR The job. Take typia's existing TS files, translate the contents line by line into...

Gabriel AnhaiaGeneric-Heavy APIs Hurt Compile Times. Here Is How to Measure It
Generics in Go look free at the call site. The compiler bills you for them later in time go build and binary size. Three patterns that cut the bill.

Gabriel AnhaiaBuilding a Plugin System in Go Without `plugin`: 3 Patterns That Actually Ship
Go's plugin stdlib is a trap. Three patterns that work in production: compile-time interfaces, gRPC subprocesses, and WebAssembly via wazero.

Gabriel Anhaiaiter.Seq in Go 1.23+: The Iterator Type Behind range-over-func
iter.Seq[V] is the API. Custom iterators, the slices/maps ecosystem, a paginated client, and a filter+map+take pipeline.

Gabriel AnhaiaGo's cmp.Or and cmp.Compare: Three-Way Comparison Without the Boilerplate
Go 1.21 and 1.22 killed two ugly patterns: nested-if sort comparators and arrow-shaped fallback chains. Here's the migration.

Gabriel AnhaiaReading -gcflags='-m=2' Output: What the Go Compiler Tells You About Inlining
The Go compiler will tell you exactly which calls it inlined, which it didn't, and why — if you ask. Here is how to read -m=2 output without guessing.

Archit AgarwalYouTube Doesn't Actually Know How Many Views Your Video Has
And that's not a bug. It's one of the most elegant algorithms in distributed systems. Every time you...

Bala ParanjFunctions vs Methods in Go: 6 Decision Criteria With Code Examples
When to use a method (owns the data, needs state, is the domain question), when to use a function...

AlexBuilding a Discord Caller (Voice Relay) Bot in Go
Intro If you've ever led a raid in an MMORPG, you know the drill: the boss pulls,...

ColaFantaGo Admin Dashboard for E-Commerce with HTMX, Templ UI, and GORM - Part 1
Go can be used for server-rendered web apps as well as APIs. With templ for views and htmx for...

Gabriel AnhaiaRunning go test -race in Production: Sampling Strategies That Don't Kill Throughput
The race detector finds bugs nothing else will. It also costs 2-20x CPU per the Go team's own docs. Three sampling strategies to keep it on in prod.

Gabriel Anhaiago.work for Real Monorepos: Setup, CI Gotchas, and the Right Layout
go.work is the right tool for Go monorepos that develop modules in lockstep. Here is the layout, the CI traps, and the commit-or-ignore decision.