Configure gRPC for go and protoc Print

  • grpc, grpc go
  • 0

Quick start

This guide gets you started with gRPC in Go with a simple working example.

Prerequisites

Update your PATH so that the protoc compiler can find the plugins:

$ export PATH="$PATH:$(go env GOPATH)/bin"

To install missing grpc_php_plugin, just copy below command and run as root user. 

cd /tmp && git clone -b v1.34.1 --depth 1 https://github.com/grpc/grpc && cd grpc && git submodule update --init && make grpc_php_plugin

Or try build as bazel.

./tools/bazel build @com_google_protobuf//:protoc
./tools/bazel build src/compiler:grpc_php_plugin

Was this answer helpful?

« Back