2 ms·
The thing about: if err != nil { return err } ...is that it's not even Error Handling. It's "Error Shovelling" (manual work to move the error
by frou_dh 4y ago
The thing about:
if err != nil {
return err
}
...is that it's not even Error Handling. It's "Error Shovelling" (manual work to move the error from one place to another).