Explorar o código

update route.go

link %!s(int64=3) %!d(string=hai) anos
pai
achega
b1d5d9858b
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  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"