Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBook ¶
func CreateBook(c *fiber.Ctx) error
func DeleteOneBook ¶
func DeleteOneBook(c *fiber.Ctx) error
func FindAllBooks ¶
func FindAllBooks(c *fiber.Ctx) error
func HealthCheck ¶
func HealthCheck(c *fiber.Ctx) error
func UpdateOneBook ¶
func UpdateOneBook(c *fiber.Ctx) error
Types ¶
type UpdateBook ¶
type UpdateBook struct { Name string `json:"name"` Description string `json:"description"` IsAvailable bool `json:"isAvailable"` Publisher string `json:"publisher"` Country string `json:"country"` Category string `json:"category"` PublishedDate time.Time `json:"publishedDate"` PageCount int32 `json:"pageCount"` }
Click to show internal directories.
Click to hide internal directories.