Documentation ¶
Index ¶
Constants ¶
View Source
const ( ApiUrl = "https://api.coinbase.com/v2/prices" TYPE = "spot" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
func Get ¶
Get the coin abbreviation is passed as parameter "coin". The coin abbreviation is a currency pair. For example: "SHIB-EUR" or "BTC-USD"
func GetWithDate ¶
GetWithDate The coin abbreviation is passed as parameter "coin". The coin abbreviation is a currency pair. For example: "SHIB-EUR" or "BTC-USD" The date must be in the format YYYY-MM-DD
Click to show internal directories.
Click to hide internal directories.