Revert "ethdb: simple var"

This reverts commit 370ad81074.

Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
jsvisa 2023-09-05 19:47:50 +08:00
parent 370ad81074
commit 7f76f442dc

View file

@ -22,8 +22,10 @@ import (
"io"
)
// ErrNotFound is the errorcode if the requested key does not exist.
var ErrNotFound = errors.New("not found")
var (
// ErrNotFound is the errorcode if the requested key does not exist.
ErrNotFound = errors.New("not found")
)
// KeyValueReader wraps the Has and Get method of a backing data store.
type KeyValueReader interface {