package catalog import ( "github.com/gin-gonic/gin" "relynolli-server/handlers/catalog/endpoints" ) func HandleRoutes(parent *gin.RouterGroup) { h := endpoints.GetHandlers() catalog := parent.Group("/catalog") catalog.GET("/filters", h.GetFilters) catalog.GET("/count", h.Count) catalog.GET("", h.GetCatalogItems) catalog.GET("/:code", h.GetCatalogItem) }