Versions in this module Expand all Collapse all v1 v1.7.0 Dec 12, 2018 Changes in this version + type API interface + Decode func(data []byte) ([]*FileDataEntry, error) + Encode func(data []*FileDataEntry) ([]byte, error) + IsProcessable func(file string) bool + type File struct + Data []*FileDataEntry + Path string + func (f1 *File) CompareTo(f2 *File) (changed, removed []*FileDataEntry) + type FileDataEntry struct + Key string + Value []byte + type JSONDecoder struct + func NewJSONDecoder(extensions ...string) *JSONDecoder + func (jd *JSONDecoder) Decode(byteSet []byte) ([]*FileDataEntry, error) + func (jd *JSONDecoder) Encode(data []*FileDataEntry) ([]byte, error) + func (jd *JSONDecoder) IsProcessable(file string) bool + type Mock struct + func NewDecoderMock() *Mock + func (mock *Mock) Decode(data []byte) ([]*FileDataEntry, error) + func (mock *Mock) Encode(data []*FileDataEntry) ([]byte, error) + func (mock *Mock) IsProcessable(file string) bool + func (mock *Mock) When(methodName string) *WhenResp + type WhenResp struct + func (when *WhenResp) ThenReturn(item ...interface{}) + type YAMLDecoder struct + func NewYAMLDecoder(extensions ...string) *YAMLDecoder + func (yd *YAMLDecoder) Decode(byteSet []byte) ([]*FileDataEntry, error) + func (yd *YAMLDecoder) Encode(data []*FileDataEntry) ([]byte, error) + func (yd *YAMLDecoder) IsProcessable(file string) bool Incompatible versions in this module v2.2.0+incompatible Aug 23, 2019 v2.1.0+incompatible May 9, 2019 v2.0.0+incompatible Apr 2, 2019