feat(deps): update golangci-lint to v2
This commit was merged in pull request #55.
This commit is contained in:
@@ -16,7 +16,10 @@ func setupDb(t *testing.T) *sqlx.DB {
|
||||
t.Fatalf("Error opening database: %v", err)
|
||||
}
|
||||
t.Cleanup(func() {
|
||||
db.Close()
|
||||
err := db.Close()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
})
|
||||
|
||||
err = RunMigrations(db, "../")
|
||||
|
||||
Reference in New Issue
Block a user