Rhymond/go-money
Go implementation of Fowler's Money pattern observed · 2026-08-28
Health v2 · maintenance only
58/100
- Activity 79
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3453
- days_rel: 490
- days_push: 126
- n_releases_24m: 1
Adoption not part of the score
1911 stars · 162 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library implementing Fowler's Money pattern for precise monetary value handling using currency smallest units (integer cents). It provides arithmetic, comparison, rounding, splitting, and allocation operations that avoid floating-point rounding errors.
Use cases
- store monetary values without floating point errors
- split an invoice amount across parties
- compare money amounts in the same currency
- format and display currency values
- allocate payments or fees precisely
When to choose
- you are building financial, billing, or e-commerce logic in Go
- you need exact integer-based money arithmetic with ISO 4217 currencies
- you need to split or allocate amounts without losing cents
When to avoid
- you need currency exchange or conversion rates (not provided)
- your project is not in Go
- you only need simple display formatting without arithmetic
Facets
library · maturity stable
serialization math formatter fintech developer-tools e-commerce go cross-platform money-pattern currency iso-4217 monetary-arithmetic no-floats
1 source
- readme: https://github.com/Rhymond/go-money · fetched 2026-08-28 · 8b9ba10ee545
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Rhymond/go-money | main | 58 |
For agents
markdown · JSON · MCP: product_card(name="Rhymond/go-money")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem