fix: ignore close errors in tests and queries

This commit is contained in:
2026-05-24 22:46:08 +02:00
parent 4606c790f1
commit 5d7518afd9
4 changed files with 11 additions and 11 deletions

View File

@@ -24,7 +24,7 @@ func (q *Queries) GetUserWatchlistAnimeIDs(ctx context.Context, userID string, a
if err != nil {
return nil, err
}
defer rows.Close()
defer func() { _ = rows.Close() }()
matches := make([]int64, 0, len(animeIDs))
for rows.Next() {