I'm trying to setup an older go/grpc project of mine, about 4 months since last change, and protoc and protoc-gen-go seems to have changed a lot.
back in the days I was able to generate the files with something like:
protoc --go_out=plugins=grpc:. *.proto
As it is still documented at: https://github.com/golang/protobuf
But trying to run this todays gives the following error:
--go_out: protoc-gen-go: plugins are not supported; use 'protoc --go-grpc_out=...' to generate gRPC
Ok, so I tried to use the --go-grpc_out flag, but:
Please specify a program using absolute path or make sure the program is available in your PATH system variable
What am I missing? protoc-gen-go is registered in the path, as you can see when using the old command.