Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewControllerWithBooks ¶
Types ¶
type Book ¶
type Book struct {
ID string `json:"id"`
Title string `json:"title"`
PublishedOn string `json:"published_on"`
Author *Author `json:"author"`
Publisher *Publisher `json:"publisher"`
Pages int `json:"pages"`
}
func (*Book) CategoryByLength ¶
type CreateBookRequest ¶
type ListBooksResponse ¶
type ListBooksResponse struct {
Books []*Book `json:"books"`
}
type ReplaceBookRequest ¶
type ReplaceBooksRequest ¶
type ReplaceBooksRequest []*ReplaceBookRequest
Click to show internal directories.
Click to hide internal directories.