github.com/mantzas/incata@v0.3.0/marshal/marshaller.go (about) 1 package marshal 2 3 // Serializer interface 4 type Serializer interface { 5 Serialize(interface{}) (interface{}, error) 6 } 7 8 // Deserializer interface 9 type Deserializer interface { 10 Deserialize(value interface{}, result interface{}) error 11 }