ethdb: simple var

Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
jsvisa 2023-08-27 08:41:21 +08:00
parent 72e9a72781
commit 370ad81074

View file

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