using protobuf version 2.6.1 ( which i installed via homebrew)
I am trying to run
$ protoc --go_out=../cloud/ *.proto
I keep receiv
I have Ubuntu 18.04.02 LTS and installed protoc
using
sudo apt install protobuf-compiler
I have my GOPATH and GOBIN set correctly, but still when I did a
protoc --go_out=.
I was getting
protoc-gen-go: program not found or is not executable
--go_out: protoc-gen-go: Plugin failed with status code 1.
After reading bunch of places, was able to find that doing
go get -u github.com/golang/protobuf/protoc-gen-go
was able to fix the issue. Hope this helps someone out there.