leapig opened a new issue, #2397:
URL: https://github.com/apache/dubbo-go/issues/2397

   ### Environment
   
   <!-- 
   - Server: Dubbo-go, v3.0.5
   - Client: Dubbo-go, v3.0.5
   - Protocol: Triple
   - Registry: Nacos, v2.0.0
   -->
   
   - Server: 
   - Client: 
   - Protocol: 
   - Registry: 
   
   ### Issue description
   
   dubbogo由低版本3.0.2升级3.1.0再回退到3.0.5会出现nacos版本依赖报错的问题
   
   ### Logs
   
   <details><summary>Click me to check logs</summary>
   
   ```
   # dubbo.apache.org/dubbo-go/v3/remoting/nacos
   
../../../../../go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/remoting/nacos/builder.go:52:60:
 cannot use sc (variable of type 
[]"github.com/nacos-group/nacos-sdk-go/common/constant".ServerConfig) as 
[]"github.com/nacos-group/nacos-sdk-go/v2/common/constant".ServerConfig value 
in argument to nacosClient.NewNacosConfigClient
   
../../../../../go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/remoting/nacos/builder.go:52:64:
 cannot use cc (variable of type 
"github.com/nacos-group/nacos-sdk-go/common/constant".ClientConfig) as 
"github.com/nacos-group/nacos-sdk-go/v2/common/constant".ClientConfig value in 
argument to nacosClient.NewNacosConfigClient
   
../../../../../go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/remoting/nacos/builder.go:126:60:
 cannot use scs (variable of type 
[]"github.com/nacos-group/nacos-sdk-go/common/constant".ServerConfig) as 
[]"github.com/nacos-group/nacos-sdk-go/v2/common/constant".ServerConfig value 
in argument to nacosClient.NewNacosNamingClient
   
../../../../../go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/remoting/nacos/builder.go:126:65:
 cannot use cc (variable of type 
"github.com/nacos-group/nacos-sdk-go/common/constant".ClientConfig) as 
"github.com/nacos-group/nacos-sdk-go/v2/common/constant".ClientConfig value in 
argument to nacosClient.NewNacosNamingClient
   
../../../../../go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/remoting/nacos/builder.go:140:60:
 cannot use scs (variable of type 
[]"github.com/nacos-group/nacos-sdk-go/common/constant".ServerConfig) as 
[]"github.com/nacos-group/nacos-sdk-go/v2/common/constant".ServerConfig value 
in argument to nacosClient.NewNacosNamingClient
   
../../../../../go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.5/remoting/nacos/builder.go:140:65:
 cannot use cc (variable of type 
"github.com/nacos-group/nacos-sdk-go/common/constant".ClientConfig) as 
"github.com/nacos-group/nacos-sdk-go/v2/common/constant".ClientConfig value in 
argument to nacosClient.NewNacosNamingClient
   ```
   
   </details>
   
   重现demo,由3.1.0回退到3.0.5的go.mod
   [go.txt](https://github.com/apache/dubbo-go/files/12436214/go.txt)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to