Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Order ¶
type Order struct { Id int `json:"id"` CustomerId int `json:"customer_id"` OrderItems []*OrderItem `json:"order_items" pg:"rel:has-many"` Total int `json:"total"` Status string `json:"status"` CreatedAt time.Time `json:"created_at" pg:"default:now()"` UpdatedAt time.Time `json:"updated_at" pg:"default:now()"` }
Click to show internal directories.
Click to hide internal directories.