badger_store.go
Method BadgerStore.Get
has 5 return statements (exceeds 4 allowed). Wontfix
Wontfix
func (b *BadgerStore) Get(k []byte) ([]byte, error) {
txn := b.db.NewTransaction(false)
defer txn.Discard()
key := []byte(fmt.Sprintf("%s%d", dbConfPrefix, k))
item, err := txn.Get(key)