refactor(core): structural typing for kvstore (#22242)
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
package store
|
||||
|
||||
// KVStore describes the basic interface for interacting with key-value stores.
|
||||
type KVStore interface {
|
||||
type KVStore = interface {
|
||||
// Get returns nil iff key doesn't exist. Errors on nil key.
|
||||
Get(key []byte) ([]byte, error)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user