编译时报错
D:\Go_projects\test1\protoc-11>protoc --plugin=protoc-gen-go=E:\goprojects\bin\protoc-gen-go.exe --go_out . medabtest.proto
protoc-gen-go.exe: unable to determine Go import path for "medabtest.proto"
Please specify either:
• a "go_package" option in the .proto source file, or
• a "M" argument on the command line.
See https://developers.google.com/protocol-buffers/docs/reference/go-generated#package for more information.
--go_out: protoc-gen-go: Plugin failed with status code 1.
我在编译protoc文件的时候保存,说是找不到这个proto文件,不知道是什么原因,请问有人知道吗
我也遇到了这个问题, 楼主解决了嘛?