13 lines
172 B
Go
Raw Normal View History

2023-07-10 14:27:41 +00:00
package storage
2023-07-07 12:38:41 +00:00
import (
"encoding/json"
"io"
)
var NewDecoder = func(r io.Reader) Decoder { return json.NewDecoder(r) }
type Decoder interface {
Decode(any) error
}