2 ms·
Despite the name, there's really nothing in common with try/catch. It's just sugar for if err != nil { return }.
by eloff 7y ago
Despite the name, there's really nothing in common with try/catch. It's just sugar for if err != nil { return }.
- pfarnsworth 7y agoTry is a terrible choice for a name exactly because of try/catch, I don't know why they decided on that.