Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookController ¶
type BookController struct {
// contains filtered or unexported fields
}
func NewBookController ¶
func NewBookController( bookRepo repository.BookRepository, ) *BookController
func (*BookController) FindAll ¶
func (ctr *BookController) FindAll(c *gin.Context)
@Summary Find all books @Description Find all books @Tags Book @Accept json @Produce json @Success 200 {object} []entity.Book @Router /books [get]
Click to show internal directories.
Click to hide internal directories.