生成命令指定我要在同一目录中输出: protoc --go_out=plugins=grpc:. authenticator.proto 今天我使用了新版本的protocol buffers编译器 ..the full Go package path as
a future release of protoc-gen-go will require this be specified.GOPATH/src/github.com//authenticator/github.com/&
我有以下内容的简单proto文件。syntax="proto3";
string name = 1;}protoc --go_out=. simple.protoprotoc-gen-go: unable to determine Go import path for "simple.proto"
Ple
-grpc_opt=path=源相对simple.protoprotoc:无法确定"simple.proto“的Go导入路径,请在.proto源文件中指定:·a "go_package所有答案都集中在第一个选项上--添加a "go_package" option in the .proto source file,但我正在寻找第二个选项"__a“"M”参数在命令行中的答案。与下的注释相同
我正在寻找通过<em