Change dataconverter interface

This commit is contained in:
mcrakhman 2023-01-24 17:04:38 +01:00 committed by Mikhail Iudin
parent 88c4bc28f6
commit 4e76451bf8
No known key found for this signature in database
GPG Key ID: FAAAA8BAABDFF1C0

View File

@ -8,7 +8,7 @@ import (
type DataConverter interface { type DataConverter interface {
Unmarshall(decrypted []byte) (any, error) Unmarshall(decrypted []byte) (any, error)
Convert(model any) (any, error) Marshall(model any) ([]byte, error)
} }
type TreeExporterParams struct { type TreeExporterParams struct {