aboutsummaryrefslogtreecommitdiff
path: root/bank.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-10-31 17:17:49 +0700
committerShulhan <ms@kilabit.info>2022-10-31 17:33:38 +0700
commit1846d3fc5d6a364986c073afccc66936ab3e469d (patch)
treee06036690692a1378f878ae7125b569f84a0c813 /bank.go
parentd131935fdfda4a9055670e8ab9a35d6a6c80172d (diff)
downloadduitku-1846d3fc5d6a364986c073afccc66936ab3e469d.tar.xz
all: realign all struct
This is to minimize the memory usage. In the response struct we remove unused Data field.
Diffstat (limited to 'bank.go')
-rw-r--r--bank.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/bank.go b/bank.go
index 2f0ab3c..0112e4f 100644
--- a/bank.go
+++ b/bank.go
@@ -8,7 +8,8 @@ import (
)
type Bank struct {
- Code string `json:"bankCode"`
- Name string `json:"bankName"`
MaxTransfer *big.Rat `json:"maxAmountTransfer"`
+
+ Code string `json:"bankCode"`
+ Name string `json:"bankName"`
}