Versions in this module Expand all Collapse all v0 v0.1.0 Nov 18, 2019 Changes in this version + var AED = Currency + var AFN = Currency + var ALL = Currency + var AMD = Currency + var ANG = Currency + var AOA = Currency + var ARS = Currency + var AUD = Currency + var AWG = Currency + var AZN = Currency + var BAM = Currency + var BBD = Currency + var BDT = Currency + var BGN = Currency + var BHD = Currency + var BIF = Currency + var BMD = Currency + var BND = Currency + var BOB = Currency + var BOV = Currency + var BRL = Currency + var BSD = Currency + var BTN = Currency + var BWP = Currency + var BYN = Currency + var BZD = Currency + var CAD = Currency + var CDF = Currency + var CHE = Currency + var CHF = Currency + var CHW = Currency + var CLF = Currency + var CLP = Currency + var CNY = Currency + var COP = Currency + var COU = Currency + var CRC = Currency + var CUC = Currency + var CUP = Currency + var CVE = Currency + var CZK = Currency + var DJF = Currency + var DKK = Currency + var DOP = Currency + var DZD = Currency + var EGP = Currency + var ERN = Currency + var ETB = Currency + var EUR = Currency + var FJD = Currency + var FKP = Currency + var GBP = Currency + var GEL = Currency + var GHS = Currency + var GIP = Currency + var GMD = Currency + var GNF = Currency + var GTQ = Currency + var GYD = Currency + var HKD = Currency + var HNL = Currency + var HRK = Currency + var HTG = Currency + var HUF = Currency + var IDR = Currency + var ILS = Currency + var INR = Currency + var IQD = Currency + var IRR = Currency + var ISK = Currency + var JMD = Currency + var JOD = Currency + var JPY = Currency + var KES = Currency + var KGS = Currency + var KHR = Currency + var KMF = Currency + var KPW = Currency + var KRW = Currency + var KWD = Currency + var KYD = Currency + var KZT = Currency + var LAK = Currency + var LBP = Currency + var LKR = Currency + var LRD = Currency + var LSL = Currency + var LYD = Currency + var MAD = Currency + var MDL = Currency + var MGA = Currency + var MKD = Currency + var MMK = Currency + var MNT = Currency + var MOP = Currency + var MRU = Currency + var MUR = Currency + var MVR = Currency + var MWK = Currency + var MXN = Currency + var MXV = Currency + var MYR = Currency + var MZN = Currency + var NAD = Currency + var NGN = Currency + var NIO = Currency + var NOK = Currency + var NPR = Currency + var NZD = Currency + var OMR = Currency + var PAB = Currency + var PEN = Currency + var PGK = Currency + var PHP = Currency + var PKR = Currency + var PLN = Currency + var PYG = Currency + var QAR = Currency + var RON = Currency + var RSD = Currency + var RUB = Currency + var RWF = Currency + var SAR = Currency + var SBD = Currency + var SCR = Currency + var SDG = Currency + var SEK = Currency + var SGD = Currency + var SHP = Currency + var SLL = Currency + var SOS = Currency + var SRD = Currency + var SSP = Currency + var STN = Currency + var SVC = Currency + var SYP = Currency + var SZL = Currency + var THB = Currency + var TJS = Currency + var TMT = Currency + var TND = Currency + var TOP = Currency + var TRY = Currency + var TTD = Currency + var TWD = Currency + var TZS = Currency + var UAH = Currency + var UGX = Currency + var USD = Currency + var USN = Currency + var UYI = Currency + var UYU = Currency + var UYW = Currency + var UZS = Currency + var VES = Currency + var VND = Currency + var VUV = Currency + var WST = Currency + var XAF = Currency + var XAG = Currency + var XAU = Currency + var XBA = Currency + var XBB = Currency + var XBC = Currency + var XBD = Currency + var XCD = Currency + var XDR = Currency + var XOF = Currency + var XPD = Currency + var XPF = Currency + var XPT = Currency + var XSU = Currency + var XTS = Currency + var XUA = Currency + var XXX = Currency + var YER = Currency + var ZAR = Currency + var ZMW = Currency + var ZWL = Currency + type Currency struct + Code string + Precision int32 + func Find(code string) Currency + func (c Currency) String() string + type Money struct + Amount decimal.Decimal + Currency Currency + func FromFloat(currency Currency, amount float64) Money + func FromInt(currency Currency, amount int64) Money + func FromString(value string) (Money, error) + func (m Money) Add(x Money) (Money, error) + func (m Money) Compare(x Money) (int, error) + func (m Money) Divide(x decimal.Decimal) (Money, error) + func (m Money) Equal(x Money) (bool, error) + func (m Money) FormattedString() string + func (m Money) Multiply(x decimal.Decimal) Money + func (m Money) String() string + func (m Money) Subtract(x Money) (Money, error)