Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateAuthorReq ¶
type CreateAuthorReq struct {
Name string `json:"name"`
}
CreateAuthorReq represent create author request body
func (CreateAuthorReq) Validate ¶
func (request CreateAuthorReq) Validate() error
type UpdateAuthorReq ¶
type UpdateAuthorReq struct {
Name string `json:"name"`
}
UpdateAuthorReq represent update author request body
func (UpdateAuthorReq) Validate ¶
func (request UpdateAuthorReq) Validate() error
Click to show internal directories.
Click to hide internal directories.