From b84e6449dccb54b29ee7340b7206d3247df2dc4b Mon Sep 17 00:00:00 2001 From: nannanwu Date: Sat, 21 Feb 2026 12:50:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/main.go b/main.go index ab1ee49..b0fc648 100644 --- a/main.go +++ b/main.go @@ -1,8 +1,6 @@ package main import ( - "awesomeProject/router" - "github.com/gin-gonic/gin" ) @@ -17,12 +15,6 @@ func main() { // 配置静态文件目录,将./static目录映射到URL路径/static r.Static("/static", "./static") - router.AdminRouterInit(r) - - router.ApiRouterInit(r) - - router.DefaultRouterInit(r) - // 启动HTTP服务器,监听在8081端口 err := r.Run(":8088") if err != nil {