When trying to generate the protobuf .go file, I receive this error:
Unknown flag: --go_opt
libprotoc 3.12.3
MacOS 11.3.1
Googling hasn’t comeup with anything useful
When trying to generate the protobuf .go file, I receive this error:
Unknown flag: --go_opt
libprotoc 3.12.3
MacOS 11.3.1
Googling hasn’t comeup with anything useful
I was able to get it working correctly by using the following format:
protoc --go_out=paths=source_relative:. -I. api/v1/*.proto
You’re using an older version of the compiler: go - Unknown flag: --go_opt while regenerating gRPC code - Stack Overflow