3 ms·
The alternative is to... not have errors I suppose. It does sound like the function you're describing is your core business logic, e.g. load from db, transform
by Cthulhu_ 3y ago
The alternative is to... not have errors I suppose. It does sound like the function you're describing is your core business logic, e.g. load from db, transform data, send somewhere else, etc, each of which CAN go wrong.
One thing you can do is go to the Go slack space at https://invite.slack.golangbridge.org/ https://invite.slack.golangbridge.org/ and ask for a review in the #reviews channel; 20 error checks is a lot.