add config
This commit is contained in:
8
config/encoder/encoder.go
Normal file
8
config/encoder/encoder.go
Normal file
@@ -0,0 +1,8 @@
|
||||
// Package encoder handles source encoding formats
|
||||
package encoder
|
||||
|
||||
type Encoder interface {
|
||||
Encode(interface{}) ([]byte, error)
|
||||
Decode([]byte, interface{}) error
|
||||
String() string
|
||||
}
|
Reference in New Issue
Block a user