3 ms·
Or Rust's `?`. The problem is Go returns errors by conventional multiple-returns/tuples, not by language construct.
by packetlost 3y ago
Or 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.