Pattern: Redundant if ...; err != nil
check
Issue: -
Checking if an error is nil to just after return the error or nil is redundant.
Pattern: Redundant if ...; err != nil
check
Issue: -
Checking if an error is nil to just after return the error or nil is redundant.