Versions in this module Expand all Collapse all v1 v1.0.48 May 8, 2018 v1.0.44 Feb 21, 2018 Changes in this version + const ExtCodeListRangeStart + const ExtCodeOpsRangeStart + func DeserializeFromFile(c Codec, path string, objPtr interface{}) error + func Equal(c Codec, x, y interface{}) (bool, error) + func SerializeToFile(c Codec, obj interface{}, path string) error + func SerializeToFileIfNotExist(c Codec, obj interface{}, path string) error + func TestStructUnknownFields(t require.TestingT, cFuture, cCurrent, cCurrentKnownOnly Codec, ...) + func Update(c Codec, dstPtr interface{}, src interface{}) error + type Codec interface + Decode func(buf []byte, obj interface{}) error + Encode func(obj interface{}) ([]byte, error) + RegisterIfaceSliceType func(rt reflect.Type, code ExtCode, typer func(interface{}) reflect.Value) + RegisterType func(rt reflect.Type, code ExtCode) + type CodecMsgpack struct + ExtCodec *CodecMsgpack + func NewMsgpack() *CodecMsgpack + func NewMsgpackNoUnknownFields() *CodecMsgpack + func (c *CodecMsgpack) Decode(buf []byte, obj interface{}) error + func (c *CodecMsgpack) Encode(obj interface{}) (buf []byte, err error) + func (c *CodecMsgpack) RegisterIfaceSliceType(rt reflect.Type, code ExtCode, typer func(interface{}) reflect.Value) + func (c *CodecMsgpack) RegisterType(rt reflect.Type, code ExtCode) + type CurrentStruct interface + type ExtCode uint64 + type Extra struct + Extra1 fakeEncryptedData + Extra2 []byte + Extra3 string + func MakeExtraOrBust(prefix string, t require.TestingT) Extra + type FutureStruct interface + ToCurrentStruct func() CurrentStruct + type MockCodec struct + func NewMockCodec(ctrl *gomock.Controller) *MockCodec + func (_m *MockCodec) Decode(buf []byte, obj interface{}) error + func (_m *MockCodec) EXPECT() *_MockCodecRecorder + func (_m *MockCodec) Encode(obj interface{}) ([]byte, error) + func (_m *MockCodec) RegisterIfaceSliceType(rt reflect.Type, code ExtCode, typer func(interface{}) reflect.Value) + func (_m *MockCodec) RegisterType(rt reflect.Type, code ExtCode) Incompatible versions in this module v2.11.0+incompatible Nov 30, 2018