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

16 lines
546 B
Plaintext

package {{ .Connector }}
import "github.com/formancehq/go-libs/v3/currency"
var (
// TODO: the next line tells that the connector is supporting all currencies.
// If you only want to support specific currencies, you will have to remove
// this line and set the map yourselves
// Example:
// supportedCurrenciesWithDecimal = map[string]int{
// "EUR": currency.ISO4217Currencies["EUR"], // Euro
// "DKK": currency.ISO4217Currencies["DKK"],
// }
supportedCurrenciesWithDecimal = currency.ISO4217Currencies
)