From 6326962862e629a6b7663efbe4963cca9b6e5f1a Mon Sep 17 00:00:00 2001 From: zhangwenjian Date: Mon, 7 Sep 2026 15:02:33 +0800 Subject: [PATCH] =?UTF-8?q?style=F0=9F=8E=A8:=20gofmt=20gen=5Frouter.go?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two pre-existing deviations: a space before the comma in sysNoCheckRoleRouter's parameter list, and no newline at end of file. Separated from the change that follows so its diff is only the change. --- app/other/router/gen_router.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/other/router/gen_router.go b/app/other/router/gen_router.go index d29e9318..e3634403 100644 --- a/app/other/router/gen_router.go +++ b/app/other/router/gen_router.go @@ -11,7 +11,7 @@ func init() { routerCheckRole = append(routerCheckRole, sysNoCheckRoleRouter, registerDBRouter, registerSysTableRouter) } -func sysNoCheckRoleRouter(v1 *gin.RouterGroup ,authMiddleware *jwt.GinJWTMiddleware) { +func sysNoCheckRoleRouter(v1 *gin.RouterGroup, authMiddleware *jwt.GinJWTMiddleware) { r1 := v1.Group("") { sys := apis.System{} @@ -53,4 +53,4 @@ func registerSysTableRouter(v1 *gin.RouterGroup, authMiddleware *jwt.GinJWTMiddl tablesInfo.GET("", sysTable.GetSysTablesInfo) } } -} \ No newline at end of file +}