add topping WIP

This commit is contained in:
pakintada@gmail.com 2024-02-02 17:07:49 +07:00
parent cabfcdee15
commit 16e0e4f9d8
11 changed files with 460 additions and 26 deletions

View file

@ -151,6 +151,10 @@ func (s *Server) createHandler() {
ur := routers.NewUserRouter(s.taoLogger, userService)
ur.Route(r)
// Topping Router
tr := routers.NewToppingRouter(s.data, s.taoLogger)
tr.Route(r)
})
r.NotFound(func(w http.ResponseWriter, r *http.Request) {