bookctrl

package
v0.0.0-...-e84d343 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2023 License: MIT Imports: 3 Imported by: 0

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]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL