xxxxxxxxxx
go get -u google.golang.org/protobuf
go get -u google.golang.org/protobuf/protec-gen-go
export PATH=$PATH:~/go/bin
xxxxxxxxxx
Error: 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
Solution: VsCode throws this error, try with terminal
or Follow this blog:
https://pascalallen.medium.com/how-to-build-a-grpc-server-in-go-943f337c4e05