Documentation ¶
Index ¶
Constants ¶
View Source
const ( Euro Currency = "€" Dollar = "$" CanadianDollar = "C$" )
Possible currency
Variables ¶
View Source
var ErrCanNotAddOperation = errors.Errorf("can not add operation wallet item not found")
ErrCanNotAddOperation means that the operation can not be added to the wallet
View Source
var ErrInvalidIDFormat = errors.New("Invalid ID format. Should be of type uuid, e.g.:\"c0c48a8f-fa6b-4467-9fd3-3bfc96ed44bb\"")
ErrInvalidIDFormat means that the ID format is not valid
View Source
var ErrNotFound = errors.New("Not found")
ErrNotFound is a common not found error
Functions ¶
This section is empty.
Types ¶
type Currency ¶
type Currency string
Type holds different compensation type definitions
func ExchangeCurrency ¶
type Value ¶
func ValueDollarFromString ¶
func ValueEuroFromString ¶
Click to show internal directories.
Click to hide internal directories.