Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Card ¶
type Currency ¶
type Currency struct { Code string `json:"code"` NumericCode string `json:"numericCode"` Fraction int `json:"fraction"` Grapheme string `json:"grapheme"` Template string `json:"template"` Decimal string `json:"decimal"` Thousand string `json:"thousand"` }
func ToCurrency ¶
type ExchangeRate ¶
type ExchangeRate struct { From *Currency `json:"from"` To *Currency `json:"to"` Rate float64 `json:"rate"` }
func ToRate ¶
func ToRate(rate *rate.ExchangeRate) *ExchangeRate
func ToRates ¶
func ToRates(rates []*rate.ExchangeRate) []*ExchangeRate
Click to show internal directories.
Click to hide internal directories.