Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidSlug = errors.New("invalid slug value")
Functions ¶
func RegisterRoutes ¶
Types ¶
type BindValidator ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler( userSvc anor.UserService, productSvc anor.ProductService, categorySvc anor.CategoryService, searcher search.Searcher, render *html.Render, logger *slog.Logger, session *scs.SessionManager, ) *Handler
func (*Handler) NotFound ¶
func (h *Handler) NotFound(next http.HandlerFunc) http.HandlerFunc
Click to show internal directories.
Click to hide internal directories.