2 ms·
> You HAVE to decide what you're going to do in case of an error. This is not true in all cases: func f() error { ... } func main() { f() //
by pcwalton 13y ago
> You HAVE to decide what you're going to do in case of an error.
This is not true in all cases:
func f() error { ... }
func main() {
f() // OK
fmt.Println("Uh-oh")
}