Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderModel ¶
type OrderModel struct { Id string `json:"id"` Price uint64 `json:"price"` Status string `json:"status"` Date time.Time `json:"date"` }
func (OrderModel) StatusType ¶
func (o OrderModel) StatusType() (Status, error)
func (OrderModel) Validate ¶
func (o OrderModel) Validate() error
func (OrderModel) ValidateStatus ¶
func (o OrderModel) ValidateStatus() error
type OrderRangeModel ¶
func (OrderRangeModel) Validate ¶
func (o OrderRangeModel) Validate() error
Click to show internal directories.
Click to hide internal directories.