From 4af64dc1d4092514fc21df76b1b2d427b364d85f Mon Sep 17 00:00:00 2001 From: marsevilspirit Date: Sun, 3 Nov 2024 02:46:02 +0800 Subject: [PATCH] update undefined --- compatibility/rpc/triple/hessian2/go-client/cmd/client.go | 2 +- compatibility/tracing/jsonrpc/go-client/cmd/client.go | 6 +++--- compatibility/tracing/jsonrpc/go-server/cmd/server.go | 4 ++-- compatibility/tracing/jsonrpc/go-server/pkg/user.go | 2 +- config_center/nacos/proto/greet.triple.go | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/compatibility/rpc/triple/hessian2/go-client/cmd/client.go b/compatibility/rpc/triple/hessian2/go-client/cmd/client.go index a0c06b393..7f4ccf73c 100644 --- a/compatibility/rpc/triple/hessian2/go-client/cmd/client.go +++ b/compatibility/rpc/triple/hessian2/go-client/cmd/client.go @@ -29,7 +29,7 @@ import ( hessian "github.com/apache/dubbo-go-hessian2" - "github.com/dubbogo/gost/log" + gxlog "github.com/dubbogo/gost/log" ) var userProvider = new(UserProvider) diff --git a/compatibility/tracing/jsonrpc/go-client/cmd/client.go b/compatibility/tracing/jsonrpc/go-client/cmd/client.go index 12631e91a..94a38d00c 100644 --- a/compatibility/tracing/jsonrpc/go-client/cmd/client.go +++ b/compatibility/tracing/jsonrpc/go-client/cmd/client.go @@ -33,14 +33,14 @@ import ( gxlog "github.com/dubbogo/gost/log" "github.com/dubbogo/gost/log/logger" - "github.com/opentracing/opentracing-go" + opentracing "github.com/opentracing/opentracing-go" zipkinot "github.com/openzipkin-contrib/zipkin-go-opentracing" - "github.com/openzipkin/zipkin-go" + zipkin "github.com/openzipkin/zipkin-go" zipkinhttp "github.com/openzipkin/zipkin-go/reporter/http" - "github.com/uber/jaeger-client-go" + jaeger "github.com/uber/jaeger-client-go" jaegerConfig "github.com/uber/jaeger-client-go/config" ) diff --git a/compatibility/tracing/jsonrpc/go-server/cmd/server.go b/compatibility/tracing/jsonrpc/go-server/cmd/server.go index f309e9f00..9825bae92 100644 --- a/compatibility/tracing/jsonrpc/go-server/cmd/server.go +++ b/compatibility/tracing/jsonrpc/go-server/cmd/server.go @@ -31,11 +31,11 @@ import ( "github.com/dubbogo/gost/log/logger" - "github.com/opentracing/opentracing-go" + opentracing "github.com/opentracing/opentracing-go" zipkinot "github.com/openzipkin-contrib/zipkin-go-opentracing" - "github.com/openzipkin/zipkin-go" + zipkin "github.com/openzipkin/zipkin-go" zipkinhttp "github.com/openzipkin/zipkin-go/reporter/http" "github.com/uber/jaeger-client-go" diff --git a/compatibility/tracing/jsonrpc/go-server/pkg/user.go b/compatibility/tracing/jsonrpc/go-server/pkg/user.go index b22ec66b8..bb7dd234d 100644 --- a/compatibility/tracing/jsonrpc/go-server/pkg/user.go +++ b/compatibility/tracing/jsonrpc/go-server/pkg/user.go @@ -25,7 +25,7 @@ import ( import ( gxlog "github.com/dubbogo/gost/log" - "github.com/opentracing/opentracing-go" + opentracing "github.com/opentracing/opentracing-go" ) type ( diff --git a/config_center/nacos/proto/greet.triple.go b/config_center/nacos/proto/greet.triple.go index 5d0c7d4ae..5a12683d3 100644 --- a/config_center/nacos/proto/greet.triple.go +++ b/config_center/nacos/proto/greet.triple.go @@ -25,7 +25,7 @@ import ( ) import ( - "dubbo.apache.org/dubbo-go/v3" + dubbo "dubbo.apache.org/dubbo-go/v3" "dubbo.apache.org/dubbo-go/v3/client" "dubbo.apache.org/dubbo-go/v3/common" "dubbo.apache.org/dubbo-go/v3/common/constant"