From 4613b56dc3d9f9f407c29d3168d0fce56d21e361 Mon Sep 17 00:00:00 2001 From: Tit Petric Date: Wed, 18 Dec 2024 21:19:44 +0100 Subject: [PATCH] Fix import groups --- gateway/api_loader.go | 3 +-- gateway/mw_auth_key.go | 13 +++++-------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/gateway/api_loader.go b/gateway/api_loader.go index ec380566d0c..3a2b9c01984 100644 --- a/gateway/api_loader.go +++ b/gateway/api_loader.go @@ -15,8 +15,6 @@ import ( "sync" texttemplate "text/template" - "github.com/TykTechnologies/tyk/internal/httpctx" - "github.com/gorilla/mux" "github.com/justinas/alice" "github.com/rs/cors" @@ -28,6 +26,7 @@ import ( "github.com/TykTechnologies/tyk/storage" "github.com/TykTechnologies/tyk/trace" + "github.com/TykTechnologies/tyk/internal/httpctx" "github.com/TykTechnologies/tyk/internal/httputil" "github.com/TykTechnologies/tyk/internal/otel" ) diff --git a/gateway/mw_auth_key.go b/gateway/mw_auth_key.go index e502cdc8df4..aa2cf767c03 100644 --- a/gateway/mw_auth_key.go +++ b/gateway/mw_auth_key.go @@ -6,18 +6,15 @@ import ( "strings" "time" - "github.com/TykTechnologies/tyk/internal/httpctx" - - "github.com/TykTechnologies/tyk/internal/crypto" - "github.com/TykTechnologies/tyk/internal/otel" - "github.com/TykTechnologies/tyk/storage" - - "github.com/TykTechnologies/tyk/user" - "github.com/TykTechnologies/tyk/apidef" "github.com/TykTechnologies/tyk/config" + "github.com/TykTechnologies/tyk/internal/crypto" + "github.com/TykTechnologies/tyk/internal/httpctx" + "github.com/TykTechnologies/tyk/internal/otel" "github.com/TykTechnologies/tyk/request" signaturevalidator "github.com/TykTechnologies/tyk/signature_validator" + "github.com/TykTechnologies/tyk/storage" + "github.com/TykTechnologies/tyk/user" ) const (