fix(quick-13): resolve lint issues in main source files
- Fix errcheck for db.Close() in testhelper.go - Fix errcheck, nlreturn, wsl, gofumpt issues in genevents/main.go - Fix gofumpt and wsl issues in library.go
This commit is contained in:
@@ -63,7 +63,7 @@ func NewTestDB(t *testing.T) *DB {
|
||||
|
||||
queries := sqlcgen.New(db)
|
||||
|
||||
t.Cleanup(func() { db.Close() })
|
||||
t.Cleanup(func() { _ = db.Close() })
|
||||
|
||||
return &DB{
|
||||
db: db,
|
||||
|
||||
Reference in New Issue
Block a user