micro/config/encoder/encoder.go

9 lines
184 B
Go
Raw Normal View History

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