This commit is contained in:
7
unmarshal.go
Normal file
7
unmarshal.go
Normal 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)
|
||||
Reference in New Issue
Block a user