Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Product ¶
type Product struct { ID int `db:"id" json:"id"` Name string `db:"name" json:"name"` Active bool `db:"active" json:"active"` Discount float32 `db:"discount" json:"discount"` Price int `db:"price" json:"price"` CreatedAt time.Time `db:"created_at" json:"created_at"` Status ProductStatus `db:"status" json:"status"` }
Product product entity
type ProductStatus ¶
type ProductStatus int
Click to show internal directories.
Click to hide internal directories.