fix lint errors

This commit is contained in:
André Roth
2026-04-26 17:26:18 +02:00
parent 01004e19c0
commit f8d2d3cb8d
4 changed files with 18 additions and 18 deletions

View File

@@ -20,7 +20,7 @@ func main() {
if err != nil {
log.Fatalf("Error opening DB %q: %s", dbPath, err)
}
defer db.Close()
defer func() { _ = db.Close() }()
keys := db.KeysByPrefix([]byte(prefix))
if len(keys) == 0 {