I keep seeing this reoccurring theme that `panic` should always be avoiding in Go and should never happen in a Go library.
❯ pwd && rg panic -g '!cmd' -g '!runtime' -g '!internal' | wc -l
/Users/bbennett/src/go/src
3007
Some people (including myself and apparently the Go team) don't agree with this.
Panics are a great way to enforce invariants that are the fault of programmers and not data input.