first commit
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
andrey1s
2021-04-26 16:07:41 +03:00
commit d6e6001d6b
18 changed files with 348 additions and 0 deletions

7
unmarshal.go Normal file
View File

@@ -0,0 +1,7 @@
package encoding
// Unmarshal bytes to inteface.
type Unmarshal func(data []byte, v interface{}) error
// Marshal interface to bytes.
type Marshal func(v interface{}) ([]byte, error)