Skip to content

Commit 7a8ab8f

Browse files
committed
fix ID fields
1 parent d8eaf88 commit 7a8ab8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

structs.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ type BalanceResponse struct {
6666

6767
// BalanceData - ..
6868
type BalanceData struct {
69-
ID string `json:"id"`
69+
ID int `json:"id"`
7070
Currency CurrencyData `json:"currency"`
7171
Reserve float64 `json:"reserve"`
7272
Balance float64 `json:"balance"`
@@ -98,7 +98,7 @@ type PairsDataContainer struct {
9898

9999
// PairData - ..
100100
type PairData struct {
101-
ID int `json:"pair_id"` // example: 25
101+
ID int64 `json:"pair_id"` // example: 25
102102
PairCode string `json:"pair"` // example: crp_usdt
103103
PairTitle string `json:"pair_show"` // example: CRP / USDT
104104
CoinsGroup string `json:"group"` // example: crp
@@ -126,7 +126,7 @@ type MarketDataContainer struct {
126126

127127
// CurrencyData - ..
128128
type CurrencyData struct {
129-
ID string `json:"id"`
129+
ID int64 `json:"id"`
130130
Name string `json:"name"` // example: crp
131131
FullName string `json:"fullname"` // example: Utopia Crypton
132132
AppName string `json:"appname"` // example: crypton

0 commit comments

Comments
 (0)