3 ms·
Idiomatically, it gives you `err` and you do `if err != nil {return err}`. While in rust you mostly do `.unwrap` and panic. It's not in the type system, but it
by karel-3d 11mo ago
Idiomatically, it gives you `err` and you do `if err != nil {return err}`. While in rust you mostly do `.unwrap` and panic.
It's not in the type system, but it's idiomatic
- richardwhiuk 11mo agoGet a key from a map and forget to check the error.