7 lines
143 B
Go
7 lines
143 B
Go
|
package router
|
||
|
|
||
|
func (api API) ProductRouter() {
|
||
|
category := api.Router.Group("/products")
|
||
|
category.GET("/", api.Controller.GetProducts())
|
||
|
}
|