proto error
包名问题
1
WARNING: Deprecated use of go_package option without a full import path in im.proto, please specify: option go_package = .;grpc;
- 解决问题
在 proto 文件中添加下面代码片段即可
1
option go_package = ".;grpc";
".;grpc"
—->;
前面是生成的文件路径,后者是生成文件package
包名
This post is licensed under
CC BY 4.0
by the author.