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:
Make sure your GOBIN is set in the PATH variable. Otherwise, you may encounter this problem. Check GOBIN path by running go env and confirm GOBIN is not empty.
PATH
GOBIN
go env
If it is empty then try like below
export GOPATH=$HOME/go PATH=$PATH:$GOPATH/bin protoc --go_out=plugins=grpc:. *.proto