Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SymbolMap = map[string]string{
"AFN": "؋",
"ARS": "$",
"AWG": "ƒ",
"BRL": "R$",
"CAD": "$",
"CLP": "$",
"CNY": "¥",
"CRC": "₡",
"CUP": "₱",
"EGP": "£",
"EUR": "€",
"FKP": "£",
"GBP": "£",
"ILS": "₪",
"IRR": "﷼",
"JPY": "¥",
"KHR": "៛",
"KLR": "₨",
"KPW": "₩",
"KRW": "₩",
"MNT": "₮",
"NGN": "₦",
"NOK": "kr",
"PHP": "₱",
"PLN": "zł",
"RUB": "₽",
"SAR": "﷼",
"THB": "฿",
"UAH": "₴",
"USD": "$",
"UZS": "лв",
"VND": "₫",
"YER": "﷼"}
Functions ¶
func SymbolPrefix ¶
Types ¶
type Formatter ¶
type Formatter struct { Accounting accounting.Accounting SymbolPrefix string DefaultISOCode string PrefixCodeDefault bool PrefixCodeNonDefault bool }
func NewFormatter ¶
func (*Formatter) FormatMoney ¶
Click to show internal directories.
Click to hide internal directories.