Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ETHID id of eth ETHID = "ETH" // USDID id of usd USDID = "USD" )
View Source
const ( // Coingecko coingecko provider Coingecko = "coingecko" // CoinLib provider CoinLib = "coinlib" )
Variables ¶
This section is empty.
Functions ¶
func DateStringToTime ¶
DateStringToTime convert date string in format YYYY-MM-DD to time
func TimeOfTodayStart ¶
TimeOfTodayStart return time of today start in UTC.
func TimeToDateString ¶
TimeToDateString convert time to date string with format YYYY-MM-DD
Types ¶
Click to show internal directories.
Click to hide internal directories.