Browse Source

update route.go

link 3 years ago
parent
commit
b1d5d9858b
2 changed files with 1 additions and 1 deletions
  1. 1 0
      route/doc.go
  2. 0 1
      route/route.go

+ 1 - 0
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"
 )

+ 0 - 1
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"