From eeec107477b7745f5a67ed4b360620929149d66d Mon Sep 17 00:00:00 2001 From: FengbinShi Date: Thu, 4 Aug 2022 15:13:54 +0800 Subject: [PATCH] golint --- transport/http/binding/bind.go | 3 ++- transport/http/binding/bind_test.go | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/transport/http/binding/bind.go b/transport/http/binding/bind.go index e03b001d5..100073673 100644 --- a/transport/http/binding/bind.go +++ b/transport/http/binding/bind.go @@ -1,10 +1,11 @@ package binding import ( - "github.com/go-kratos/kratos/v2/errors" "net/http" "net/url" + "github.com/go-kratos/kratos/v2/errors" + "github.com/go-kratos/kratos/v2/encoding" "github.com/go-kratos/kratos/v2/encoding/form" ) diff --git a/transport/http/binding/bind_test.go b/transport/http/binding/bind_test.go index f41e624ea..20aadba7f 100644 --- a/transport/http/binding/bind_test.go +++ b/transport/http/binding/bind_test.go @@ -1,13 +1,14 @@ package binding import ( - "github.com/go-kratos/kratos/v2/errors" "io" "net/http" "net/url" "reflect" "strings" "testing" + + "github.com/go-kratos/kratos/v2/errors" ) func TestBindQuery(t *testing.T) {