Files
webarchive/adapters/repository/badgers3/marshal.go
2023-11-01 13:04:16 +03:00

14 lines
259 B
Go

package badgers3
import (
"github.com/vmihailenco/msgpack/v5"
)
func marshal(v interface{}) ([]byte, error) {
return msgpack.Marshal(v)
}
func unmarshal(b []byte, v interface{}) error { //nolint:unused // will use later
return msgpack.Unmarshal(b, v)
}