I had been compiling files with protoc-gen-go and everything went ok, but then i reinstalled Ubuntu, installed protoc again and getting this with same script instead of file:
command:
protoc -I . myfile.proto --go_out=plugins=grpc:protofiles
and error:
--go_out: protoc-gen-go: plugins are not supported; use 'protoc --go-grpc_out=...' to generate gRPC
See https://grpc.io/docs/languages/go/quickstart/#regenerate-grpc-code for more information.`
I was trying to compile with flag require_unimplemented_servers=false , but it generates some other code, not compatible to previous version.