Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Product ¶
type Product struct { ID uint `gorm:"primary_key;column:id" json:"id"` Name string `gorm:"column:name;" json:"name"` Code string `gorm:"column:code;" json:"code"` Price float64 `gorm:"column:price" json:"price"` CreatedAt time.Time `gorm:"column:created_at" json:"created_at"` UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"` }
Product model
Click to show internal directories.
Click to hide internal directories.