Files
CrimsonandGitHub 1c5db1c1ab chore: Replace local currency package with go-libs version (#500)
* chore: replace local currency package with go-libs version

* Annotate apiRouter to ensure no conflict with other chi.Mux provided by go-libs

* Upgrade go-libs to new v3.0.1 tag

* Update connector template file to import from go-libs
2025-07-30 11:29:46 +00:00

15 lines
483 B
Go

package increase
import "github.com/formancehq/go-libs/v3/currency"
var (
supportedCurrenciesWithDecimal = map[string]int{
"CAD": currency.ISO4217Currencies["CAD"], // Canadian Dollar
"CHF": currency.ISO4217Currencies["CHF"], // Swiss Franc
"EUR": currency.ISO4217Currencies["EUR"], // Euro
"GBP": currency.ISO4217Currencies["GBP"], // British Pound
"JPY": currency.ISO4217Currencies["JPY"], // Japanese Yen
"USD": currency.ISO4217Currencies["USD"], // US Dollar
}
)