how to add new currency support to golang.org/x/text/currency

Viewed 350

The package golang.org/x/text/currency is designed to handle currency standard printing implementation.

It provides all the most common currencies via a bunch of const currency.Unit

A currency.Unit is a struct to an uint index

They refers to some data located under internal folder.

I want to add support for a new currency. How do I proceed ?

1 Answers
Related