#go
Design Patterns

Singleton Pattern
Implementing the Singleton design pattern for a Redis client, first in Go with sync.Once, then in Python with __new__.
Go
Go 101, everything in Go is an error, now how do we wrap them?
What error wrapping is in Go, the difference between %w and %v, errors.Is, errors.As, errors.Join and how to prove it all with tests.