Documentation ¶
Index ¶
- Variables
- func MapKeyArrInterface(m map[string]string) []interface{}
- func NewCurrencyLayerApi(opt map[string]string) *currencyLayerApi
- func NewFixerApi(opt map[string]string) *fixerApi
- func NewGoogleApi(opt map[string]string) *googleApi
- func NewOneForgeApi(opt map[string]string) *oneForgeApi
- func NewOpenExchangeRatesApi(opt map[string]string) *openExchangeRatesApi
- func NewTheMoneyConverterApi(opt map[string]string) *theMoneyConverterApi
- func NewYahooApi(opt map[string]string) *yahooApi
- func ReverseMap(m map[string]string) map[string]string
- type Exchanger
- type Rate
Constants ¶
This section is empty.
Variables ¶
var CurrencyList = map[string]string{}/* 285 elements not displayed */
CurrencyList ... list of currencies in ISO Format source @ https://raw.githubusercontent.com/umpirsky/currency-list/master/data/en_US/currency.json
var CurrencyListArr = MapKeyArrInterface(CurrencyList)
CurrencyListArr ... CurrencyList to array of int => interfaces to be used in validation
Functions ¶
func MapKeyArrInterface ¶
MapKeyArrInterface ... Reverse a map in <value, key>
func NewCurrencyLayerApi ¶
NewCurrencyLayerApi ... return new instance of currencyLayerApi
func NewFixerApi ¶
NewFixerApi ... return new instance of fixerApi
func NewGoogleApi ¶
NewGoogleApi ... return new instance of googleApi
func NewOneForgeApi ¶
NewOneForgeApi ... return new instance of oneForgeApi
func NewOpenExchangeRatesApi ¶
NewOpenExchangeRatesApi ... return new instance of openExchangeRatesApi
func NewTheMoneyConverterApi ¶
NewTheMoneyConverterApi ... return new instance of theMoneyConverterApi
func NewYahooApi ¶
NewYahooApi ... return new instance of yahooApi