From ff8cab79fb25b3b21a2ccc92b002151b3a3362d8 Mon Sep 17 00:00:00 2001 From: steebchen Date: Mon, 6 Nov 2023 16:51:58 +0900 Subject: [PATCH] lint fixes --- engine/mock/do.go | 1 + engine/proxy.go | 2 +- engine/request.go | 2 +- runtime/builder/builder.go | 2 +- runtime/transaction/transaction.go | 2 +- runtime/types/errors.go | 1 + test/test.go | 2 +- 7 files changed, 7 insertions(+), 5 deletions(-) diff --git a/engine/mock/do.go b/engine/mock/do.go index 6b8322cc..012caf7b 100644 --- a/engine/mock/do.go +++ b/engine/mock/do.go @@ -4,6 +4,7 @@ import ( "context" "encoding/json" "fmt" + "github.com/steebchen/prisma-client-go/engine/protocol" ) diff --git a/engine/proxy.go b/engine/proxy.go index b27c63fd..b93650a4 100644 --- a/engine/proxy.go +++ b/engine/proxy.go @@ -7,13 +7,13 @@ import ( "encoding/json" "errors" "fmt" - "github.com/steebchen/prisma-client-go/engine/protocol" "net/http" "net/url" "path" "time" "github.com/steebchen/prisma-client-go/binaries" + "github.com/steebchen/prisma-client-go/engine/protocol" "github.com/steebchen/prisma-client-go/logger" "github.com/steebchen/prisma-client-go/runtime/types" ) diff --git a/engine/request.go b/engine/request.go index ad1fd18a..b5bf22ff 100644 --- a/engine/request.go +++ b/engine/request.go @@ -4,10 +4,10 @@ import ( "context" "encoding/json" "fmt" - "github.com/steebchen/prisma-client-go/engine/protocol" "net/http" "time" + "github.com/steebchen/prisma-client-go/engine/protocol" "github.com/steebchen/prisma-client-go/logger" "github.com/steebchen/prisma-client-go/runtime/types" ) diff --git a/runtime/builder/builder.go b/runtime/builder/builder.go index f192a677..db64b371 100644 --- a/runtime/builder/builder.go +++ b/runtime/builder/builder.go @@ -4,11 +4,11 @@ import ( "context" "encoding/json" "fmt" - "github.com/steebchen/prisma-client-go/engine/protocol" "strings" "time" "github.com/steebchen/prisma-client-go/engine" + "github.com/steebchen/prisma-client-go/engine/protocol" "github.com/steebchen/prisma-client-go/logger" ) diff --git a/runtime/transaction/transaction.go b/runtime/transaction/transaction.go index 3686231c..63a72d7c 100644 --- a/runtime/transaction/transaction.go +++ b/runtime/transaction/transaction.go @@ -3,9 +3,9 @@ package transaction import ( "context" "fmt" - "github.com/steebchen/prisma-client-go/engine/protocol" "github.com/steebchen/prisma-client-go/engine" + "github.com/steebchen/prisma-client-go/engine/protocol" "github.com/steebchen/prisma-client-go/runtime/builder" ) diff --git a/runtime/types/errors.go b/runtime/types/errors.go index c7f44255..704130db 100644 --- a/runtime/types/errors.go +++ b/runtime/types/errors.go @@ -2,6 +2,7 @@ package types import ( "errors" + "github.com/steebchen/prisma-client-go/engine/protocol" ) diff --git a/test/test.go b/test/test.go index f9b5deb8..63d3e767 100644 --- a/test/test.go +++ b/test/test.go @@ -3,7 +3,6 @@ package test import ( "context" "fmt" - "github.com/steebchen/prisma-client-go/engine/protocol" "log" "os" "strings" @@ -11,6 +10,7 @@ import ( "github.com/steebchen/prisma-client-go/cli" "github.com/steebchen/prisma-client-go/engine" + "github.com/steebchen/prisma-client-go/engine/protocol" "github.com/steebchen/prisma-client-go/test/cmd" "github.com/steebchen/prisma-client-go/test/setup/mongodb" "github.com/steebchen/prisma-client-go/test/setup/mysql"