From 2be1bca94fda955ac10e314fd6b69526b1f92400 Mon Sep 17 00:00:00 2001 From: kkishi Date: Mon, 28 Aug 2017 21:27:18 +0200 Subject: [PATCH] Update proto generation commands in example doc (#1481) --- examples/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/examples/README.md b/examples/README.md index 6ea6b35f..27a8a855 100644 --- a/examples/README.md +++ b/examples/README.md @@ -51,7 +51,10 @@ OPTIONAL - Rebuilding the generated code ``` $ go get -a github.com/golang/protobuf/protoc-gen-go -$ -$ # from this dir; invoke protoc -$ protoc -I ./helloworld/helloworld/ ./helloworld/helloworld/helloworld.proto --go_out=plugins=grpc:helloworld +``` + +3 Rebuild the generated Go code. + +``` +$ go generate google.golang.org/grpc/examples/helloworld/... ```