Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDB = errors.New("Database is error")
View Source
var ErrNotFound = errors.New("Book is not found")
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(r *gin.RouterGroup, bookUseCase UseCase) *Handler
func (*Handler) GenerateRoute ¶
func (h *Handler) GenerateRoute()
Click to show internal directories.
Click to hide internal directories.