我只是尝试用--go_outprotoc插件在Windows上构建100%有效的protobuf文件,但它失败了。它不会报告protobuf文件中的任何错误。A只看到生成的代码作为输出和--go_out错误消息,如下所示:--go_out: protoc-gen-go: Plugin failed with
syntax="proto3";包main;message Person { string name = 1;int32 age = 2;}我正在寻找通过protoc更改模块路径的方法,为作为不同模块一部分的客户端和服务器生成Go代码,我尝试使用go_opt=module,但它不适用于source_relative。具体来说,对于的文件