Documentation
¶
Index ¶
- func CalcDays(start, end int64) int
- func FormatID(id string) string
- func FormatLastUpdated(lastUpdated string) string
- func FormatMarketCap(marketCap float64) float64
- func FormatName(name string) string
- func FormatPercentChange(percentChange float64) float64
- func FormatPrice(price float64, convert string) float64
- func FormatRank(rank interface{}) int
- func FormatSupply(supply float64) float64
- func FormatSymbol(id string) string
- func FormatVolume(volume float64) float64
- func NameToSlug(name string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatLastUpdated ¶
FormatLastUpdated formats the last updated value
func FormatMarketCap ¶
FormatMarketCap formats the market cap value
func FormatPercentChange ¶
FormatPercentChange formats the percent change value
func FormatPrice ¶
FormatPrice formats the price value
func NameToSlug ¶
NameToSlug converts a coin name to slug for URLs
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.