Hacker News new | ask | show | jobs
by marcus_holmes 774 days ago
this is true, but not a problem. Go's pattern of checking the error on every return means that if an error is returned, that is the return. Allowing routines to return a result as well as an error is occasionally useful.