All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Secrets
Security
Style
Type check
Some simple error checking patterns can be reduced to just a single return statement returning a variable of type Error.
return
Error
if err != nil { return err } return nil
return err