fix(ci): clean up lint and dead code

This commit is contained in:
IanShaw027
2026-04-22 16:38:36 +08:00
parent 82259d1380
commit ad4600964e
8 changed files with 8 additions and 46 deletions

View File

@@ -301,7 +301,9 @@ func findDuplicatePaymentOrderOutTradeNos(ctx context.Context, db *sql.DB) ([]st
if err != nil {
return nil, err
}
defer rows.Close()
defer func() {
_ = rows.Close()
}()
duplicates := make([]string, 0, 5)
for rows.Next() {