use any instead of interface

This commit is contained in:
ston1th 2023-03-21 01:30:56 +01:00
commit 8f350b4b02
5 changed files with 9 additions and 9 deletions

View file

@ -14,8 +14,8 @@ type Store interface {
Marshaler
Dumper
Restorer
Get(string, interface{}) error
Set(string, interface{}) error
Get(string, any) error
Set(string, any) error
ForEach(func(string, []byte) error) error
ForEachPrefix(string, func(string, []byte) error) error
Delete(string) error