Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

版本兼容问题 #1588

Open
wudashan opened this issue Oct 25, 2024 · 0 comments
Open

版本兼容问题 #1588

wudashan opened this issue Oct 25, 2024 · 0 comments

Comments

@wudashan
Copy link

go.mod 依赖关系如下:

github.com/cloudwego/kitex v0.11.3
code.byted.org/toutiao/asyncevent/broker v0.0.0-20220527073949-698075820bca // indirect

go build编译会报错:

../sdk/go1.18/pkg/mod/code.byted.org/toutiao/asyncevent/broker@v0.0.0-20220527073949-698075820bca/util/thrift_read.go:86:42: cannot use elemType (variable of type "github.com/apache/thrift/lib/go/thrift".TType) as int8 value in argument to descriptor.FromThriftTType

看上去是code.byted.org/toutiao/asyncevent/broker的thrift_read.go:86:42调用了github.com/cloudwego/kitex的descriptor.FromThriftTType(elemType)方法,但是类型不匹配,请问github.com/cloudwego/kitex是否有兼容版本?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant