mirror of https://github.com/miguelmota/cointop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
480 B
Go
24 lines
480 B
Go
package cointop
|
|
|
|
type coin struct {
|
|
ID string
|
|
Name string
|
|
Slug string
|
|
Symbol string
|
|
Rank int
|
|
Price float64
|
|
Volume24H float64
|
|
MarketCap float64
|
|
AvailableSupply float64
|
|
TotalSupply float64
|
|
PercentChange1H float64
|
|
PercentChange24H float64
|
|
PercentChange7D float64
|
|
LastUpdated string
|
|
// for favorites
|
|
Favorite bool
|
|
// for portfolio
|
|
Holdings float64
|
|
Balance float64
|
|
}
|