Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateBooks ¶
Types ¶
type Book ¶
type Book struct {
Id int `json:"id" gorm:"primary key;autoIncrement"`
Title string `json:"title"`
Author string `json:"author"`
Category string `json:"category"`
CoverURL string `json:"coverURL"`
Language string `json:"language"`
Likes int `json:"likes"`
Borrows int `json:"borrows"`
Summary string `json:"summary"`
Available bool `json:"available"`
}
Click to show internal directories.
Click to hide internal directories.