Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 904 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 904 Bytes

Currency

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.

Quick start

go get github.com/paulwerner/currency

Features

  • 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

Development

  • 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

Code Generation

make gen

Inspired By