I am having a hard time figuring out protoc command and go plugin.
What is the different between:
protoc \
# Directory where you want the compiler to write your Go output.
--go_out=.
# vs ?
--go_opt=paths=source_relative
# vs ?
--go-grpc_out=.
# vs ?
--go-grpc_opt=paths=source_relative
If --go_opt generate
<name>.pb.gofile
and --go-grpc_opt generate
<name>_grpc.pb.gofile
why even have --go_out?
Can you shed some light on protoc - the doc do not say anything about --go-grpc_opt?
And and protoc -h do not even list go as an OUT_DIR?
Note: I install using this doc