Skip to content

Commit

Permalink
Removed the field methods
Browse files Browse the repository at this point in the history
  • Loading branch information
muddi900 authored Jan 10, 2025
1 parent b776ebb commit 4419fe7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,10 +320,10 @@ err = message.Unmarshal(data)
// handle error

// now you can access field values
data.MTI.Value() // "0100"
data.TransmissionDateTime.Value() // "220102103212"
data.STAN.Value() // "000001"
data.InformationCode.Value() // "001"
data.MTI // "0100"
data.TransmissionDateTime // "220102103212"
data.STAN // "000001"
data.InformationCode // "001"
```

For complete code samples please check [./message_test.go](./message_test.go).
Expand Down

0 comments on commit 4419fe7

Please sign in to comment.