protoc-gen-go: program not found or is not executable
Please specify a program using absolute path or make sure the program is available in your PATH system variable
--go_out: protoc-gen-go: Plugin failed with status code 1.
经过网上各种环境变量设置,还是依然报错。
最后的解决办法是将GOPath/bin目录下的protoc-gen-go文件拷贝至/bin目录下
sudo cp /home/test/go/bin/protoc-gen-go /bin