micro/config/encoder/encoder.go
2019-05-30 23:11:13 +01:00

9 lines
184 B
Go

// Package encoder handles source encoding formats
package encoder
type Encoder interface {
Encode(interface{}) ([]byte, error)
Decode([]byte, interface{}) error
String() string
}