This is an automated email from the ASF dual-hosted git repository.

alexstocks pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git


The following commit(s) were added to refs/heads/master by this push:
     new 2a2410cb fix: Fix log import issues (#503)
2a2410cb is described below

commit 2a2410cb5f624d22e04211d08fb91cb1467efe96
Author: Xuewei Niu <[email protected]>
AuthorDate: Fri Feb 24 21:50:23 2023 +0800

    fix: Fix log import issues (#503)
    
    There are three files that not set log alias correctly, which lead to
    throw static typecheck errors from GitHub.
    
    Signed-off-by: Xuewei Niu <[email protected]>
---
 context/dubbo/go-client/cmd/client.go           | 2 +-
 filter/tpslimit/go-server/pkg/limit_strategy.go | 2 +-
 registry/etcd/go-server/pkg/user.go             | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/context/dubbo/go-client/cmd/client.go 
b/context/dubbo/go-client/cmd/client.go
index ec5dbbe0..8e30bd0d 100644
--- a/context/dubbo/go-client/cmd/client.go
+++ b/context/dubbo/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"
 )
 
 type UserProvider struct {
diff --git a/filter/tpslimit/go-server/pkg/limit_strategy.go 
b/filter/tpslimit/go-server/pkg/limit_strategy.go
index 07a86510..b4390019 100644
--- a/filter/tpslimit/go-server/pkg/limit_strategy.go
+++ b/filter/tpslimit/go-server/pkg/limit_strategy.go
@@ -25,7 +25,7 @@ import (
        "dubbo.apache.org/dubbo-go/v3/common/extension"
        "dubbo.apache.org/dubbo-go/v3/filter"
 
-       "github.com/dubbogo/gost/log"
+       gxlog "github.com/dubbogo/gost/log"
 )
 
 func init() {
diff --git a/registry/etcd/go-server/pkg/user.go 
b/registry/etcd/go-server/pkg/user.go
index 88e2bc1c..044fe550 100644
--- a/registry/etcd/go-server/pkg/user.go
+++ b/registry/etcd/go-server/pkg/user.go
@@ -27,7 +27,7 @@ import (
 
        hessian "github.com/apache/dubbo-go-hessian2"
 
-       "github.com/dubbogo/gost/log"
+       gxlog "github.com/dubbogo/gost/log"
 )
 
 func init() {

Reply via email to