diff --git a/transport/http/server_test.go b/transport/http/server_test.go index 6da644edf..eb76f7073 100644 --- a/transport/http/server_test.go +++ b/transport/http/server_test.go @@ -6,7 +6,6 @@ import ( "encoding/json" "errors" "fmt" - "github.com/go-kratos/kratos/v2/middleware" "io" "net" "net/http" @@ -15,6 +14,8 @@ import ( "testing" "time" + "github.com/go-kratos/kratos/v2/middleware" + kratoserrors "github.com/go-kratos/kratos/v2/errors" "github.com/go-kratos/kratos/v2/internal/host" )