feat: add route order

This commit is contained in:
2026-06-23 11:12:47 +03:00
parent 66070c2e73
commit c32aee50dc
3 changed files with 89 additions and 2 deletions
+1
View File
@@ -52,6 +52,7 @@ func main() {
protected.POST("/cart/", handlers.AddToCart)
protected.PATCH("/cart/:id", handlers.UpdateCartItem)
protected.DELETE("/cart/:id", handlers.RemoveFromCart)
protected.POST("/orders/", handlers.CreateOrder)
}
admin := protected.Group("/")