jingyugao / rowserrcheck

Analyzer: checks whether err of sql.Rows is checked.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not all of the issues about using '==' to compare error directly can be detected by errorlint.

dumbFeng opened this issue · comments

Version of golangci-lint:
golangci-lint has version 1.44.2 built from d58dbde on 2022-02-17T18:35:00Z
Go version:
go1.14

Not all of the issues about using '==' to compare error directly can be detected by errorlint.

All of the issues are about comparing err with gorm.ErrRecordNotFound