Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoRecord = errors.New("models: no record found")
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct {
ISBN int `json:"isbn"`
BookName string `json:"book_name"`
Author string `json:"author"`
PageCount int `json:"page_count"`
BookCount int `json:"book_count"`
BorrowTimes int `json:"borrow_times"`
BorrowDate sql.NullTime `json:"borrow_date"`
LastReceivedDay sql.NullTime `json:"last_received_day"`
}
Click to show internal directories.
Click to hide internal directories.