Currency is a library for handling monetary values in Go (Golang). Its data is based on the CLDR project which can be updated for newer versions using the internal generator.
go get github.com/paulwerner/currency
- low ops and memory allocation
- precise arithmetic with overflow checks
- support for 300+ currencies
- locale based displaying
- allow custom de-/serializer
- data generated based on the CLDR project
- add calculator
- add CLDR data fetching
- add code generator
- add currency data generation
- add locale data generation
- add locale based formatting
- add kind based displaying (standard, cash, accounting)
- add de-/serialization
- add documentation
make gen