update gotutorial a bit

This commit is contained in:
iamqizhao 2015-02-26 13:25:30 -08:00
parent 4c8eee6933
commit c341a6b9cc
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ message Point {
Next we need to generate the gRPC client and server interfaces from our .proto service definition. We do this using the protocol buffer compiler `protoc` with a special gRPC Go plugin. Next we need to generate the gRPC client and server interfaces from our .proto service definition. We do this using the protocol buffer compiler `protoc` with a special gRPC Go plugin.
For simplicity, we've provided a [bash script](https://github.com/grpc/grpc-go/blob/master/codegen.sh) that runs `protoc` for you with the appropriate plugin, input, and output (if you want to run this yourself, make sure you've installed protoc and followed the gRPC code [installation instructions](https://github.com/grpc/grpc/blob/master/INSTALL) first): For simplicity, we've provided a [bash script](https://github.com/grpc/grpc-go/blob/master/codegen.sh) that runs `protoc` for you with the appropriate plugin, input, and output (if you want to run this by yourself, make sure you've installed protoc and followed the [installation instructions](https://github.com/grpc/grpc-go/blob/master/README.md) first):
```shell ```shell
$ codegen.sh route_guide.proto $ codegen.sh route_guide.proto