add the Central Bank of the Republic of Uzbekistan exchange rates data source

This commit is contained in:
MaysWind
2024-11-18 01:01:18 +08:00
parent ec0cb0bbb7
commit e92725f38b
6 changed files with 334 additions and 0 deletions
@@ -59,6 +59,9 @@ func InitializeExchangeRatesDataSource(config *settings.Config) error {
} else if config.ExchangeRatesDataSource == settings.SwissNationalBankDataSource {
Container.Current = &SwissNationalBankDataSource{}
return nil
} else if config.ExchangeRatesDataSource == settings.CentralBankOfUzbekistanDataSource {
Container.Current = &CentralBankOfUzbekistanDataSource{}
return nil
} else if config.ExchangeRatesDataSource == settings.InternationalMonetaryFundDataSource {
Container.Current = &InternationalMonetaryFundDataSource{}
return nil