A simple list of all known currencies.
Currencies can be accessed in multiple ways:
- Through the currency name if hardcoded, for example
currencydb.EUR - Via the
currencydb.Allmap (lookup by string), for examplecur := currencydb.All[isoCode] - Via the
currencydb.Countrymap (lookup by country code), for examplecur := currencydb.Country["US"]would returncurrencydb.USD