Versions in this module Expand all Collapse all v0 v0.1.1 Feb 26, 2022 v0.1.0 Feb 26, 2022 Changes in this version + var ErrInvalidValue = errors.New("one of the specified money values is invalid") + var ErrMismatchingCurrency = errors.New("mismatching currency codes") + func AreEquals(l, r pb.Money) bool + func AreSameCurrency(l, r pb.Money) bool + func IsNegative(m pb.Money) bool + func IsPositive(m pb.Money) bool + func IsValid(m pb.Money) bool + func IsZero(m pb.Money) bool + func MultiplySlow(m pb.Money, n uint32) pb.Money + func Must(v pb.Money, err error) pb.Money + func Negate(m pb.Money) pb.Money + func Sum(l, r pb.Money) (pb.Money, error)