Encoding
| 23 | |
| 24 | // Encoding |
| 25 | type Encoding interface { |
| 26 | Marshal(v interface{}) ([]byte, error) |
| 27 | Unmarshal(data []byte, v interface{}) error |
| 28 | } |
| 29 | |
| 30 | // Marshal encode data |
| 31 | func Marshal(e Encoding, v interface{}) (data []byte, err error) { |
no outgoing calls
no test coverage detected