Having to "if err != nil" every single function call is a big put off - imagine having to "try catch" everything in a language like C#!
func Must(err error) { if err != nil { panic(err) } } func Panic[T any](v T, err error) T { if err != nil { panic(err) } return v }
It forces me to think about how my programs can fail and what I should do when they fail.