Files
encoding/unmarshal.go
andrey 6c843faf4a
Some checks failed
Go Action / goaction (push) Failing after 27m2s
Go Action / goaction (pull_request) Failing after 26m32s
update lint and dependency
2025-12-23 23:00:51 +03:00

8 lines
169 B
Go

package encoding
// Unmarshal bytes to inteface.
type Unmarshal func(data []byte, v any) error
// Marshal interface to bytes.
type Marshal func(v any) ([]byte, error)