refactor(api): remove unused Swagger docs.go and clean up dependencies; Makefile update

This commit is contained in:
yusing
2025-09-06 07:24:28 +08:00
parent 7f54f50af8
commit d9fbd53870
8 changed files with 13 additions and 3689 deletions

View File

@@ -14,7 +14,6 @@ import (
authApi "github.com/yusing/go-proxy/internal/api/v1/auth"
certApi "github.com/yusing/go-proxy/internal/api/v1/cert"
dockerApi "github.com/yusing/go-proxy/internal/api/v1/docker"
"github.com/yusing/go-proxy/internal/api/v1/docs"
fileApi "github.com/yusing/go-proxy/internal/api/v1/file"
homepageApi "github.com/yusing/go-proxy/internal/api/v1/homepage"
metricsApi "github.com/yusing/go-proxy/internal/api/v1/metrics"
@@ -44,9 +43,6 @@ func NewHandler() *gin.Engine {
r.Use(ErrorHandler())
r.Use(ErrorLoggingMiddleware())
docs.SwaggerInfo.Title = "GoDoxy API"
docs.SwaggerInfo.BasePath = "/api/v1"
r.GET("/api/v1/version", apiV1.Version)
v1Auth := r.Group("/api/v1/auth")