encoder.go 184 B

12345678
  1. // Package encoder handles source encoding formats
  2. package encoder
  3. type Encoder interface {
  4. Encode(interface{}) ([]byte, error)
  5. Decode([]byte, interface{}) error
  6. String() string
  7. }