chore: use http-swagger/v2 for go:embed to reduce binary size (#6897)

I'm testing how much this will reduce the size, but it should
be by a few MB!
This commit is contained in:
Kyle Carberry
2023-03-30 11:46:58 -05:00
committed by GitHub
parent afcc179244
commit 5780006adb
3 changed files with 7 additions and 7 deletions

View File

@ -23,7 +23,7 @@ import (
"github.com/klauspost/compress/zstd"
"github.com/moby/moby/pkg/namesgenerator"
"github.com/prometheus/client_golang/prometheus"
httpSwagger "github.com/swaggo/http-swagger"
httpSwagger "github.com/swaggo/http-swagger/v2"
"go.opentelemetry.io/otel/trace"
"golang.org/x/xerrors"
"google.golang.org/api/idtoken"