The Secret Life of Go: Error Handling (Part 2)
Data-Rich Errors, Custom Structs, and 'errors.As'
Mar 20, 20265 min read2

Search for a command to run...
Articles tagged with #go
Data-Rich Errors, Custom Structs, and 'errors.As'

Sentinel Errors, Wrapping, and The String Trap

The Concurrent Map, Shard Optimizations, and When Not to Use It.

Protecting Shared Memory and The RWMutex

How to Stop Crashing Your Server with 10,000 Goroutines

How to fix race conditions with buffered and unbuffered channels in Go Chapter 24: Sharing Memory by Communicating Ethan was staring at a map of data on his screen, hitting the refresh button. "It’s happening again," he said. "I’m running a calculat...
