Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: naughtygopher/currency

Tags

v2.0.1

Toggle v2.0.1's commit message
[patch] minor refactor by reusing 'New' and added more tests

v2.0.0

Toggle v2.0.0's commit message
[major] implemented fmt.Stringer interface, so currency.String() now …

…does not accept any parameters

[-] introduced 2 new configurations, 'PrefixSymbol' and 'SuffixSymbol' which will respectively prefix or suffix the currency symbol to the string

v1.1.0

Toggle v1.1.0's commit message
[minor] implemented fmt.Formatter interface

- 's' verb would produce the full currency string along with its symbol. equivalent to c.String(true)
- 'd' verb would produce the main integer part of the currency, without the symbol
- 'm' verb would produce the fractional integer part of the currency, without the symbol
- 'f' verb would produce the full currency string without its symbol. equivalent to c.String(false)
- 'y' verb would produce the currency symbol alone

v1.0.0

Toggle v1.0.0's commit message
stable release