Documentation ¶
Overview ¶
This code is auto-generated; DO NOT EDIT.
This code is auto-generated by github.com/mikekonan/go-currencies; DO NOT EDIT.
Index ¶
- func ByCode(code Code) (c currency, ok bool)
- func ByCodeErr(code Code) (c currency, err error)
- func ByCodeStr(code string) (c currency, ok bool)
- func ByCodeStrErr(code string) (c currency, err error)
- func ByCountry(country Country) (c currencies, ok bool)
- func ByCountryErr(country Country) (c currencies, err error)
- func ByCountryStr(country string) (c currencies, ok bool)
- func ByCountryStrErr(country string) (c currencies, err error)
- func ByCurrency(currency Currency) (c currency, ok bool)
- func ByCurrencyErr(currencyStr Currency) (c currency, err error)
- func ByCurrencyStr(currency string) (c currency, ok bool)
- func ByCurrencyStrErr(currencyStr string) (c currency, err error)
- func ByNumber(number Number) (c currency, ok bool)
- func ByNumberErr(number Number) (c currency, err error)
- func ByNumberStr(number string) (c currency, ok bool)
- func ByNumberStrErr(number string) (c currency, err error)
- type Code
- type Countries
- type Country
- type Currency
- type Number
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByCodeStrErr ¶ added in v1.0.5
ByCodeStrErr lookup for currency type by code
func ByCountryErr ¶ added in v1.0.5
ByCountryErr lookup for currencies type by country
func ByCountryStr ¶ added in v1.0.5
ByCountryStr lookup for currencies type by country
func ByCountryStrErr ¶ added in v1.0.5
ByCountryStrErr lookup for currencies type by country
func ByCurrency ¶
ByCurrency lookup for currency type by currency
func ByCurrencyErr ¶ added in v1.0.5
ByCurrencyErr lookup for currencies type by code
func ByCurrencyStr ¶ added in v1.0.5
ByCurrencyStr lookup for currency type by currency
func ByCurrencyStrErr ¶ added in v1.0.5
ByCurrencyStrErr lookup for currency type by currency
func ByNumberErr ¶ added in v1.0.5
ByNumberErr lookup for currencies type by number
func ByNumberStr ¶ added in v1.0.5
ByNumberStr lookup for currency type by number
func ByNumberStrErr ¶ added in v1.0.5
ByNumberStrErr lookup for currency type by number
Types ¶
type Code ¶ added in v1.0.1
type Code string
Code represents a code type from ISO-4217
func (*Code) UnmarshalJSON ¶ added in v1.0.5
UnmarshalJSON unmarshall implementation for Code
type Countries ¶ added in v1.0.3
type Countries []Country
func (Countries) IsCountryIn ¶ added in v1.0.3
type Country ¶ added in v1.0.1
type Country string
Country represents a country type from ISO-4217
func (*Country) UnmarshalJSON ¶ added in v1.0.5
UnmarshalJSON unmarshall implementation for Country
type Currency ¶ added in v1.0.1
type Currency string
Currency represents a currency type from ISO-4217
func (*Currency) UnmarshalJSON ¶ added in v1.0.5
UnmarshalJSON unmarshall implementation for Currency
type Number ¶ added in v1.0.1
type Number string
Number represents a number type from ISO-4217
func (*Number) UnmarshalJSON ¶ added in v1.0.5
UnmarshalJSON unmarshall implementation for Number