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) {