Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateBookInput ¶
type CreateBookInput struct { Title string `json:"title" binding:"required"` Author string `json:"author" binding:"requried"` }
Create struct for valid input
type UpdateBookInput ¶
Same struct as CreateBookInput except the binding is not required anymore
Click to show internal directories.
Click to hide internal directories.