Skip to content

Commit

Permalink
fix ID fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Sagleft committed Dec 29, 2021
1 parent d8eaf88 commit 7a8ab8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ type BalanceResponse struct {

// BalanceData - ..
type BalanceData struct {
ID string `json:"id"`
ID int `json:"id"`
Currency CurrencyData `json:"currency"`
Reserve float64 `json:"reserve"`
Balance float64 `json:"balance"`
Expand Down Expand Up @@ -98,7 +98,7 @@ type PairsDataContainer struct {

// PairData - ..
type PairData struct {
ID int `json:"pair_id"` // example: 25
ID int64 `json:"pair_id"` // example: 25
PairCode string `json:"pair"` // example: crp_usdt
PairTitle string `json:"pair_show"` // example: CRP / USDT
CoinsGroup string `json:"group"` // example: crp
Expand Down Expand Up @@ -126,7 +126,7 @@ type MarketDataContainer struct {

// CurrencyData - ..
type CurrencyData struct {
ID string `json:"id"`
ID int64 `json:"id"`
Name string `json:"name"` // example: crp
FullName string `json:"fullname"` // example: Utopia Crypton
AppName string `json:"appname"` // example: crypton
Expand Down

0 comments on commit 7a8ab8f

Please sign in to comment.