Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registerer ¶
type Registerer struct { }
Registerer validates the supplied person, calculates the price in the requested currency and saves the result. It will return an error when: -the person object does not include all the fields -the currency is invalid -the exchange rate cannot be loaded -the data layer throws an error.
Click to show internal directories.
Click to hide internal directories.