Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct {
gorm.Model
Name string `gorm:""json:"name"`
Author string `json:"author"`
Publication string `json:"publication"`
}
func DeleteBook ¶
func GetAllBooks ¶
func GetAllBooks() []Book
func (*Book) CreateBook ¶
Click to show internal directories.
Click to hide internal directories.