online-order/api/middlewares/router.go

9 lines
277 B
Go
Raw Normal View History

2023-10-27 09:51:58 +00:00
package middlewares
2023-10-29 23:33:40 +00:00
//func NewMiddlewareRouters(server *entity.Routers) *controller {
//productRepo := repository_product.NewProductClient(server.Database)
//authService := service_authentication.NewAuthService(productRepo)
2023-10-27 09:51:58 +00:00
2023-10-29 23:33:40 +00:00
//return NewMiddlewareControllers(authService)
//}