From b1d5d9858b3a0a65c0ed786fa7e5b1af7f5879c4 Mon Sep 17 00:00:00 2001 From: link Date: Fri, 22 Oct 2021 17:19:07 +0800 Subject: [PATCH] update route.go --- route/doc.go | 1 + route/route.go | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/route/doc.go b/route/doc.go index 1bac9a9..fafe1d6 100644 --- a/route/doc.go +++ b/route/doc.go @@ -4,6 +4,7 @@ package route import ( + _ "github.com/IceWhaleTech/CasaOS/docs" ginSwagger "github.com/swaggo/gin-swagger" swaggerFiles "github.com/swaggo/gin-swagger/swaggerFiles" ) diff --git a/route/route.go b/route/route.go index b81ac06..c310ceb 100644 --- a/route/route.go +++ b/route/route.go @@ -3,7 +3,6 @@ package route import ( "net/http" - _ "github.com/IceWhaleTech/CasaOS/docs" "github.com/IceWhaleTech/CasaOS/middleware" "github.com/IceWhaleTech/CasaOS/pkg/config" jwt2 "github.com/IceWhaleTech/CasaOS/pkg/utils/jwt"