Add route to CardGetAll handler

This commit is contained in:
qowevisa 2024-11-10 08:25:44 +02:00
parent 7b8405abdd
commit 85f8972d5e

View File

@ -54,6 +54,7 @@ func main() {
{
cardsRoutes.POST("/add", handlers.CardAdd)
cardsRoutes.GET("/:id", handlers.CardGetId)
cardsRoutes.GET("/all", handlers.CardGetAll)
cardsRoutes.PUT("/edit/:id", handlers.CardPutId)
cardsRoutes.DELETE("/delete/:id", handlers.CardDeleteId)
}