add codec.RawMessage support
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
ff75c833a1
commit
aec7118cf8
@ -61,6 +61,7 @@ func (c *iso8583Codec) Unmarshal(b []byte, v interface{}, opts ...codec.Option)
|
|||||||
return nil
|
return nil
|
||||||
case codec.RawMessage:
|
case codec.RawMessage:
|
||||||
copy(m, b)
|
copy(m, b)
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var spec *iso8583.MessageSpec
|
var spec *iso8583.MessageSpec
|
||||||
|
Loading…
x
Reference in New Issue
Block a user