Skip to content

Commit

Permalink
remove routes
Browse files Browse the repository at this point in the history
  • Loading branch information
abaldeweg committed Nov 11, 2024
1 parent 71c256c commit a664950
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions gateway/router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,6 @@ func Routes() *gin.Engine {
})
}

// apiCoreBranch := apiCore.Group(`/api/branch`)
// {
// apiCoreBranch.GET(`/`, handleCoreAPI("/api/branch/"))
// apiCoreBranch.GET(`/:id`, handleCoreAPIWithId("/api/branch"))
// apiCoreBranch.PUT(`/:id`, handleCoreAPIWithId("/api/branch"))
// }

apiCoreCondition := apiCore.Group(`/api/condition`)
{
apiCoreCondition.Use(func(c *gin.Context) {
Expand Down Expand Up @@ -147,15 +140,6 @@ func Routes() *gin.Engine {
})
}

// apiCoreCondition := apiCore.Group(`/api/condition`)
// {
// apiCoreCondition.GET(`/`, handleCoreAPI("/api/condition/"))
// apiCoreCondition.POST(`/new`, handleCoreAPI("/api/condition/new"))
// apiCoreCondition.GET(`/:id`, handleCoreAPIWithId("/api/condition"))
// apiCoreCondition.PUT(`/:id`, handleCoreAPIWithId("/api/condition"))
// apiCoreCondition.DELETE(`/:id`, handleCoreAPIWithId("/api/condition"))
// }

apiCoreDirectory := apiCore.Group(`/api/directory`)
{
apiCoreDirectory.GET(`/`, handleCoreAPI("/api/directory/"))
Expand Down

0 comments on commit a664950

Please sign in to comment.