Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCurrencyNotSet = errors.New("currency not set")
ErrCurrencyNotSet returned when currency code for conversion not set.
Functions ¶
This section is empty.
Types ¶
type Converter ¶
type Converter struct {
// contains filtered or unexported fields
}
Converter is a converter of money from one currency to another.
Click to show internal directories.
Click to hide internal directories.