报错:
—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.
解决:
解决前,请先清理原有的版本
brew install protobufgo get -u github.com/golang/protobuf/protoc-gen-gogo install github.com/golang/protobuf/protoc-gen-gogo install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
