Enforce use of any instead of interface{} (#30588)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
9aa4818c71
Коммит
166a676fe5
@@ -9,8 +9,8 @@ import (
|
||||
var ErrNotFound = errors.New("not found")
|
||||
|
||||
type KVStore interface {
|
||||
Set(key string, value interface{}, options ...pluginapi.KVSetOption) (bool, error)
|
||||
Get(key string, o interface{}) error
|
||||
Set(key string, value any, options ...pluginapi.KVSetOption) (bool, error)
|
||||
Get(key string, o any) error
|
||||
Delete(key string) error
|
||||
DeleteAll() error
|
||||
ListKeys(page, count int, options ...pluginapi.ListKeysOption) ([]string, error)
|
||||
|
||||
Ссылка в новой задаче
Block a user