package router func (api API) ProductRouter() { category := api.Router.Group("/products") category.GET("/", api.Controller.GetProducts()) }