Files
encoding/unmarshal.go
andrey 3bb09b70d7
All checks were successful
Go Action / goaction (push) Successful in 33s
update lint and dependency (#2)
Reviewed-on: #2
2025-12-23 23:25:07 +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)