mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* 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
15 lines
483 B
Go
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
|
|
}
|
|
)
|