add codec.RawMessage support
All checks were successful
test / test (push) Successful in 3m26s

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2024-12-23 20:38:15 +03:00
parent ff75c833a1
commit 4095e7a426

View File

@ -61,6 +61,7 @@ func (c *iso8583Codec) Unmarshal(b []byte, v interface{}, opts ...codec.Option)
return nil
case codec.RawMessage:
copy(m, b)
return nil
}
var spec *iso8583.MessageSpec