记录一次在重构微服务出现的问题;
报错如下:
protoc-gen-go: unable to determine Go import path for "test/test.proto"
Please specify either:
• a "go_package" option in the .proto source file, or
• a "M" argument on the command line.
解决方案:
在proto文件头部加入go_package
option go_package="./;customize";