Closed jan-bar closed 2 years ago
I also have the same problem
Grpc generation is a difficult problem. Multi-version compatibility of protoc-gen-go, proto syntax version, etc. have brought great challenges to goctl generation. At present, we have compiled an optimization solution for the above problems. The link to the solution is as follows,[see details](https:/ /github.com/zeromicro/go-zero/issues/1226) , you can download the goctl in this solution and try to solve it. At present, the solution is in internal testing. If it still does not solve your problem, you can directly @anqiansong on github, if You are in the WeChat group, you can also @KesonAnn
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
I use the following version
I have the following proto file,I want to use the
test
with the same name,For compatibility with older versions。旧版本没有
option go_package
字段生成的代码和grpc调用已经固定,新版本搞成不一样影响比较大。use
goctl rpc proto --home %GOCTLHOME% -style goZero -dir . -src test.proto
Report an errorBelow is the result I want,我单独执行命令是允许使用相同名称的情况
I found that it is the result of the following code
时间都花在用翻译软件上了