Skip to content

Commit

Permalink
Update memo struct to use the additional structure as memo item inste…
Browse files Browse the repository at this point in the history
…ad of embedded structure (#77)
  • Loading branch information
dzmitryhil committed Sep 6, 2023
1 parent e1d40cf commit 7739c2f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions data/memo.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package data

type MemoItem struct {
MemoType VariableLength
MemoData VariableLength
MemoFormat VariableLength
}

type Memo struct {
Memo struct {
MemoType VariableLength
MemoData VariableLength
MemoFormat VariableLength
}
Memo MemoItem
}

type Memos []Memo

0 comments on commit 7739c2f

Please sign in to comment.