Minimal Go library for currency-aware money values.

5 Open Issues Need Help Last updated: Sep 21, 2025

Open Issues Need Help

View All on GitHub

AI Summary: The `Decimal()` function currently overflows when attempting to compute the absolute value of `math.MinInt64` by negating it. This issue aims to enhance the function's robustness by defensively handling this specific edge case. The proposed solution involves updating `Decimal()` to compute the magnitude without direct negation for `math.MinInt64`, possibly by using division/modulo on the negative value or converting to `uint64`, and adding a dedicated internal test case.

Complexity: 2/5
bug good first issue

Minimal Go library for currency-aware money values.

Go
enhancement good first issue

Minimal Go library for currency-aware money values.

Go
documentation good first issue

Minimal Go library for currency-aware money values.

Go
enhancement good first issue

Minimal Go library for currency-aware money values.

Go
enhancement good first issue

Minimal Go library for currency-aware money values.

Go