moov-io / iso8583

A golang implementation to marshal and unmarshal iso8583 message.
https://moov.io
Apache License 2.0
304 stars 100 forks source link

Display composite field subfields in iso8583.Describe #237

Closed alovak closed 1 year ago

alovak commented 1 year ago

What:

Here is the new output (filtered):

ISO 8583 Message:
MTI..........: 0800
Bitmap HEX...: 82200000000000020C00000020000000
Bitmap bits..:
[1-8]10000010 [9-16]00100000 [17-24]00000000 [25-32]00000000
[33-40]00000000 [41-48]00000000 [49-56]00000000 [57-64]00000010
[65-72]00001100 [73-80]00000000 [81-88]00000000 [89-96]00000000
[97-104]00100000 [105-112]00000000 [113-120]00000000 [121-128]00000000
F0   Message Type Indicator......: 0800
F7   Transmission Date and Time..: 0606114142
F11  System Trace Audit Number...: 123456
F63 Private Fields SUBFIELDS:
-------------------------------------------
Bitmap HEX...: 800000
Bitmap bits..:
[1-8]10000000 [9-16]00000000 [17-24]00000000
F1   Institution ID..: 0002
------------------------------------------
F69  Institution Country Code............................: 840
F70  Management Information Code..................: 301
F99  Institution Identification Code....................: 12345678901

It's a breaking change:

wadearnold commented 1 year ago

Well isn't that pretty!

alovak commented 1 year ago

@wadearnold I was thinking about adding more colors ;)