mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
add the National Bank of Kazakhstan exchange rates data source (#564)
* add the National Bank of Kazakhstan exchange rates data source * fix import order, sort exchange rate data by country name. * fix National Bank of Kazakhstan exchange rate reference url * add integration test for the National Bank of Kazakhstan exchange rate provider
This commit is contained in:
@@ -40,6 +40,9 @@ func InitializeExchangeRatesDataSource(config *settings.Config) error {
|
||||
} else if config.ExchangeRatesDataSource == settings.BankOfIsraelDataSource {
|
||||
Container.current = newCommonHttpExchangeRatesDataProvider(config, &BankOfIsraelDataSource{})
|
||||
return nil
|
||||
} else if config.ExchangeRatesDataSource == settings.NationalBankOfKazakhstanDataSource {
|
||||
Container.current = newCommonHttpExchangeRatesDataProvider(config, &NationalBankOfKazakhstanDataSource{})
|
||||
return nil
|
||||
} else if config.ExchangeRatesDataSource == settings.CentralBankOfMyanmarDataSource {
|
||||
Container.current = newCommonHttpExchangeRatesDataProvider(config, &CentralBankOfMyanmarDataSource{})
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user