5 ms·
like Zigs `try xyz();` which does what you say
by lionkor 3y ago
like Zigs `try xyz();` which does what you say
- packetlost 3y agoOr Rust's `?`. The problem is Go returns errors by conventional multiple-returns/tuples, not by language construct.
- lionkor 3y agoit could do something sane but smart, like returning the error for whatever argument is an error type, and nil the rest.