fix: fix pedantic returns in Pebble (#95) #256
Annotations
10 errors and 4 warnings
golangci:
goleveldb.go#L43
string `.db` has 3 occurrences, make it a constant (goconst)
|
golangci:
goleveldb.go#L7
import 'github.com/spf13/cast' is not allowed from list 'Main' (depguard)
|
golangci:
goleveldb.go#L8
import 'github.com/syndtr/goleveldb/leveldb' is not allowed from list 'Main' (depguard)
|
golangci:
goleveldb.go#L9
import 'github.com/syndtr/goleveldb/leveldb/errors' is not allowed from list 'Main' (depguard)
|
golangci:
goleveldb.go#L10
import 'github.com/syndtr/goleveldb/leveldb/filter' is not allowed from list 'Main' (depguard)
|
golangci:
goleveldb.go#L11
import 'github.com/syndtr/goleveldb/leveldb/opt' is not allowed from list 'Main' (depguard)
|
golangci:
goleveldb.go#L12
import 'github.com/syndtr/goleveldb/leveldb/util' is not allowed from list 'Main' (depguard)
|
golangci:
goleveldb_batch.go#L4
import 'github.com/syndtr/goleveldb/leveldb' is not allowed from list 'Main' (depguard)
|
golangci:
goleveldb_batch.go#L5
import 'github.com/syndtr/goleveldb/leveldb/opt' is not allowed from list 'Main' (depguard)
|
golangci:
goleveldb_iterator.go#L6
import 'github.com/syndtr/goleveldb/leveldb/iterator' is not allowed from list 'Main' (depguard)
|
golangci:
memdb_iterator.go#L108
empty-block: this block is empty, you can remove it (revive)
|
golangci:
test_helpers.go#L25
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
|
golangci:
memdb.go#L178
unused-parameter: parameter 'size' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci:
rocksdb.go#L195
unused-parameter: parameter 'size' seems to be unused, consider removing or renaming it as _ (revive)
|