boulder/db
Phil Porada 439517543b
CI: Run staticcheck standalone (#7055)
Run staticcheck as a standalone binary rather than as a library via
golangci-lint. From the golangci-lint help out,
> staticcheck (megacheck): It's a set of rules from staticcheck. It's
not the same thing as the staticcheck binary. The author of staticcheck
doesn't support or approve the use of staticcheck as a library inside
golangci-lint.

We decided to disable ST1000 which warns about incorrect or missing
package comments.

For SA4011, I chose to change the semantics[1] of the for loop rather
than ignoring the SA4011 lint for that line.

Fixes https://github.com/letsencrypt/boulder/issues/6988

1. https://go.dev/ref/spec#Continue_statements
2023-08-31 21:09:40 -07:00
..
gorm.go It's borpin' time! (#6982) 2023-07-17 14:38:29 -07:00
gorm_test.go Improve MultiInserter (#6572) 2023-01-30 09:45:45 -08:00
interfaces.go CI: Run staticcheck standalone (#7055) 2023-08-31 21:09:40 -07:00
map.go sa: refactor how metrics and logging are set up (#7031) 2023-08-08 09:51:23 -07:00
map_test.go It's borpin' time! (#6982) 2023-07-17 14:38:29 -07:00
multi.go It's borpin' time! (#6982) 2023-07-17 14:38:29 -07:00
multi_test.go Improve MultiInserter (#6572) 2023-01-30 09:45:45 -08:00
qmarks.go Extract out `db.QuestionMarks` function (#6568) 2023-01-10 14:29:31 -08:00
qmarks_test.go Re-enable errcheck linter (#6819) 2023-04-14 15:41:12 -04:00
rollback.go SA: use wrapped database maps/transactions. (#4585) 2019-12-04 13:03:09 -05:00
rollback_test.go It's borpin' time! (#6982) 2023-07-17 14:38:29 -07:00
transaction.go It's borpin' time! (#6982) 2023-07-17 14:38:29 -07:00