Versions in this module Expand all Collapse all v0 v0.0.2 Sep 25, 2023 v0.0.1 Sep 25, 2023 Changes in this version + var ErrMarshallingProto = errors.New("can not serialize the object") + var ErrUnmarshallingProto = errors.New("obj does not implement proto.Message") + type GogoProtoMarshalizer struct + func (gpm *GogoProtoMarshalizer) IsInterfaceNil() bool + func (gpm *GogoProtoMarshalizer) Marshal(obj interface{}) ([]byte, error) + func (gpm *GogoProtoMarshalizer) Unmarshal(obj interface{}, buff []byte) error + type GogoProtoObj interface + type JSONMarshalizer struct + func (marshalizer *JSONMarshalizer) IsInterfaceNil() bool + func (marshalizer *JSONMarshalizer) Marshal(obj interface{}) ([]byte, error) + func (marshalizer *JSONMarshalizer) Unmarshal(obj interface{}, buff []byte) error + type TestData struct