Skip to content

Commit

Permalink
Remove necessary route
Browse files Browse the repository at this point in the history
  • Loading branch information
slhmy committed Aug 13, 2024
1 parent e91cf43 commit 87b00d9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cmd/web_server/handler/problem.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package handler

import (
"net/http"

"github.com/gin-gonic/gin"
judge_model "github.com/oj-lab/oj-lab-platform/models/judge"
problem_model "github.com/oj-lab/oj-lab-platform/models/problem"
Expand All @@ -14,9 +12,6 @@ import (
func SetupProblemRouter(baseRoute *gin.RouterGroup) {
g := baseRoute.Group("/problem")
{
g.GET("/greet", func(c *gin.Context) {
c.String(http.StatusOK, "Hello, this is problem service")
})
g.GET("", getProblemInfoList)
g.PUT("", putProblem)
g.GET("/:slug", getProblem)
Expand Down

0 comments on commit 87b00d9

Please sign in to comment.