Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Money ¶
type Money struct { Amount int64 `bson:"amount" json:"amount" validate:"required"` Currency string `bson:"currency" json:"currency" validate:"required"` }
func (*Money) ValidateAmount ¶
func (*Money) ValidateCurrency ¶
Click to show internal directories.
Click to hide internal directories.