This commit is contained in:
11
encoding.go
Normal file
11
encoding.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package encoding
|
||||
|
||||
import (
|
||||
"io"
|
||||
)
|
||||
|
||||
// Encode writer from volume.
|
||||
type Encode func(w io.Writer, v interface{}) error
|
||||
|
||||
// Decode reader to volume.
|
||||
type Decode func(r io.Reader, v interface{}) error
|
||||
Reference in New Issue
Block a user