Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct {
ID uint `json:"id" gorm:"primaryKey"`
Name string `json:"name"`
Description string `json:"description"`
MediumPrice float32 `json:"medium_price"`
Author string `json:"author"`
ImageURL string `json:"img_url"`
CreatedAt time.Time `json:"created"`
UpdatedAt time.Time `json:"updated"`
DeletedAt gorm.DeletedAt `gorm:"index" json:"deleted"`
}
Click to show internal directories.
Click to hide internal directories.