Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUnsupportedCurrency is an error when a currency is not supported ErrUnsupportedCurrency = errors.New("unsupported currency") )
List of currency related errors
Functions ¶
This section is empty.
Types ¶
type Currency ¶
type Currency int
Currency is a currency
func (Currency) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface
func (*Currency) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.