Update proto generation commands in example doc (#1481)

This commit is contained in:
kkishi
2017-08-28 21:27:18 +02:00
committed by dfawley
parent e696c3d4da
commit 2be1bca94f

View File

@ -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/...
```