Skip to content

Releases: govalues/money

v0.2.4

26 Jan 07:29
159fd14
Compare
Choose a tag to compare

Added

  • Implemented Amount.AddMul, Amount.AddQuo, Amount.SubMul, Amount.SubQuo, Amount.Equal, Amount.Less.

  • Implemented Currency.AppendBinary, Currency.AppendText, Currency.UnmarshalJSON, Currency.MarshalJSON, Currency.UnmarshalBSONValue, Currency.MarshalBSONValue.

Changed

  • ExchangeRate.Conv supports both direct and reverse conversions.
  • Deprecated Amount.FMA and ExchangeRate.Inv methods.

v0.2.3

26 Jul 18:05
223cbe2
Compare
Choose a tag to compare

Changed

  • Allowed rounding to the scale smaller than the currency scale.

v0.2.2

18 Dec 13:40
6cb5b81
Compare
Choose a tag to compare
money: improve table formatting

v0.2.1

18 Dec 13:16
b224928
Compare
Choose a tag to compare
money: improve documentation and test coverage

v0.2.0

12 Dec 14:27
0ac5903
Compare
Choose a tag to compare
money: implement new constructors and methods

v0.1.3

23 Aug 18:13
03898ed
Compare
Choose a tag to compare
money: implement sql driver methods and enable linters

v0.1.2

15 Aug 17:28
9beff69
Compare
Choose a tag to compare
Merge pull request #6 from govalues/quo-rem-method

money: implement Amount.QuoRem method

v0.1.1

04 Aug 14:29
af61748
Compare
Choose a tag to compare
Merge pull request #5 from govalues/int64-scale-argument

amount: Implement scale argument in Int64 method

v0.1.0

04 Jun 12:02
aa52ef6
Compare
Choose a tag to compare
Merge pull request #4 from govalues/error-management

money: implement panic free methods

v0.0.3

21 Apr 21:24
7d50ee4
Compare
Choose a tag to compare
Merge pull request #3 from govalues/improved-documentation

money: improved documentation