implement selecting dynamic currency options

This commit is contained in:
Hayden 2024-01-05 11:59:08 -06:00
parent fa676d6351
commit b4151f03c8
No known key found for this signature in database
GPG key ID: 17CF79474E257545
3 changed files with 34 additions and 5 deletions

View file

@ -133,6 +133,10 @@ func run(cfg *config.Config) error {
}
if cfg.CurrencyConfig != "" {
log.Info().
Str("path", cfg.CurrencyConfig).
Msg("loading currency config file")
content, err := os.ReadFile(cfg.CurrencyConfig)
if err != nil {
log.Fatal().