add batch request

This commit is contained in:
andrusyakka
2023-07-14 16:54:49 +03:00
parent afaf47acd3
commit 4a6a326f6d
2 changed files with 25 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ func main() {
e.POST("/", h.CreateUser)
e.GET("/", h.GetUsers)
e.GET("/:id", h.GetUser)
e.GET("/batch/:ids", h.GetUserBatch)
e.PATCH("/:id", h.UpdateUser)
e.DELETE("/:id", h.DeleteUser)
e.GET("/health", h.Health)