DEV Community

Go

A statically typed, compiled programming language designed at Google

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Cross-Compiling Go for Alpine vs Distroless: The CGO_ENABLED Decision Tree

Cross-Compiling Go for Alpine vs Distroless: The CGO_ENABLED Decision Tree

2
Comments
9 min read
sync.OnceFunc, OnceValue, OnceValues: When Each Beats sync.Once

sync.OnceFunc, OnceValue, OnceValues: When Each Beats sync.Once

Comments
8 min read
atomic.Pointer[T] for Lock-Free Cache Updates That Don't Race

atomic.Pointer[T] for Lock-Free Cache Updates That Don't Race

Comments
8 min read
Sub-tests Done Right: t.Run, t.Parallel, and the Cleanup-Order Trap

Sub-tests Done Right: t.Run, t.Parallel, and the Cleanup-Order Trap

Comments
7 min read
Go's net/http Server.Shutdown: The Three-Stage Drain You Probably Skip

Go's net/http Server.Shutdown: The Three-Stage Drain You Probably Skip

Comments
8 min read
slog Beyond Basics: Group, ReplaceAttr, and Custom Handlers

slog Beyond Basics: Group, ReplaceAttr, and Custom Handlers

Comments
8 min read
context.WithoutCancel: When You Need Work That Outlives Its Caller

context.WithoutCancel: When You Need Work That Outlives Its Caller

Comments
7 min read
Why Uber’s Go Monorepo Strategy Nearly Broke and How They Saved It

Why Uber’s Go Monorepo Strategy Nearly Broke and How They Saved It

1
Comments 1
7 min read
A Custom http.RoundTripper Is the Cleanest Place for Cross-Cutting HTTP Concerns

A Custom http.RoundTripper Is the Cleanest Place for Cross-Cutting HTTP Concerns

Comments
8 min read
Go's testing/synctest Package: Time-Mocked Tests That Aren't Flaky

Go's testing/synctest Package: Time-Mocked Tests That Aren't Flaky

Comments
9 min read
The maps Stdlib in Go 1.21+: 8 Functions That Replace Half Your Map Helpers

The maps Stdlib in Go 1.21+: 8 Functions That Replace Half Your Map Helpers

Comments
8 min read
A Repository Layer in Go Without an ORM: 4 Patterns That Survive in Production

A Repository Layer in Go Without an ORM: 4 Patterns That Survive in Production

Comments
8 min read
Go Race Detector Output: 3 Stack Shapes That Mean Different Things

Go Race Detector Output: 3 Stack Shapes That Mean Different Things

Comments
9 min read
How We Eliminated 90% of API Calls by Replacing Polling with SSE

How We Eliminated 90% of API Calls by Replacing Polling with SSE

Comments
3 min read
Top 5 Enterprise AI Gateways for Dynamic Routing in 2026

Top 5 Enterprise AI Gateways for Dynamic Routing in 2026

Comments
6 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.