Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBook ¶
func CreateBook(c *fiber.Ctx) error
CreateBook func for creates a new book. @Description Create a new book. @Summary create a new book @Tags Book @Accept json @Produce json @Param title body string true "Title" @Param author body string true "Author" @Param book_attrs body models.BookAttrs true "Book attributes" @Success 200 {object} models.Book @Security ApiKeyAuth @Router /v1/book [post]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.