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

@ -3,6 +3,6 @@
package store
type Marshaler interface {
Marshal(v interface{}) ([]byte, error)
Unmarshal(data []byte, v interface{}) error
Marshal(v any) ([]byte, error)
Unmarshal(data []byte, v any) error
}