Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct {
// ID of the book
// in: int
ID int `json:"id" example:"1"`
// Title of the book
// in: string
Title string `json:"title" example:"Staggering Forward"`
// Author of the book
// in: string
Author string `json:"author" example:"Mr. Karnad"`
// Year of the book
// in: string
Year string `json:"year" example:"2010"`
}
swagger:model Book
Click to show internal directories.
Click to hide internal directories.