Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CurrencyRate ¶
type CurrencyRate struct { // Id ID uint // Base currency of currency pair BaseCurrency string // Quoted currency of currency pair QuotedCurrency string // Rate value Value float64 // The date on which the rates are requested. String is used so that there is no conversion to the server timezone RateDate string `json:"rate_date"` // Provider API request time (UTC) RequestTime time.Time `json:"request_time"` // Provider generated rates time (UTC) ProviderGeneratedTime time.Time `json:"provider_generated_time"` // Provider of this currency exchange rate Provider string // Currency rate endpoint Endpoint string }
CurrencyRate represents one currency pair exchange rate
func (CurrencyRate) TableName ¶
func (r CurrencyRate) TableName() string
TableName returns MySQL table name
Click to show internal directories.
Click to hide internal directories.