Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Amount ¶
type Amount struct { // Value denotes the number of currency in an amount. The last two digits // are the cents of the given currency. While this value is of type // the limitation is 9223372036854775807 due to database type limitations Value int64 `validate:"gte=0"` Currency string `validate:"len=3,alpha"` }
Click to show internal directories.
Click to hide internal directories.