I am trying to build a sample app with go grpc but I am unable to generate the code using \"protoc\"
Have installed the required libraries/go packages using:
From the github repo this solution has worked for me.
Go version is go version go1.14.1 linux/amd64
go version go1.14.1 linux/amd64
Add this to .bashrc and source it.
.bashrc
export GOROOT=/usr/local/go export GOPATH=$HOME/go export GOBIN=$GOPATH/bin export PATH=$PATH:$GOROOT:$GOPATH:$GOBIN
https://github.com/golang/protobuf/issues/795