Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookRequest ¶
type BookRequest struct { Title string `json:"title"` Author string `json:"author"` Year int `json:"year"` }
func (*BookRequest) Validate ¶
func (br *BookRequest) Validate() error
Click to show internal directories.
Click to hide internal directories.