micro/config/encoder/encoder.go

9 lines
184 B
Go
Raw Normal View History

2019-05-30 23:11:13 +01:00
// Package encoder handles source encoding formats
package encoder
type Encoder interface {
Encode(interface{}) ([]byte, error)
Decode([]byte, interface{}) error
String() string
}