currency

command module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2022 License: BSD-3-Clause Imports: 12 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
gen
Code generated.
Code generated.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL