From 87b00d9321f2a924fc2ad1a498ad440d4fa51322 Mon Sep 17 00:00:00 2001 From: slhmy Date: Tue, 13 Aug 2024 09:29:11 +0800 Subject: [PATCH] Remove necessary route --- cmd/web_server/handler/problem.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmd/web_server/handler/problem.go b/cmd/web_server/handler/problem.go index e792762..844b9c8 100644 --- a/cmd/web_server/handler/problem.go +++ b/cmd/web_server/handler/problem.go @@ -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" @@ -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)