The World of Go

News, thoughts, and insights about Go, the no-magic, no-distraction, get-sh*t-done language for the cloud.

Christoph Berger

Go 1.18 introduces a new method for mutexes: TryLock(). The doc warns that correct use cases are rare. Is deadlock prevention a correct use ...

Christoph Berger

Closure semantics can play tricks on us when the closure is a goroutine. Can you spot the error right away?