Pushes the optional code-gen section to the bottom

pull/3109/head
Tim Emiola 10 years ago
parent 81580a97bb
commit ea8eb3c703
  1. 30
      go/README.md

@ -21,8 +21,21 @@ $ go install -u github.com/grpc-common/go/greeter_client
$ go install -u github.com/grpc-common/go/greeter_server $ go install -u github.com/grpc-common/go/greeter_server
``` ```
OPTIONAL - Rebuild the generated code TRY IT!
------------------------------------- -------
- Run the server
```sh
$ greeter_server &
```
- Run the client
```sh
$ greeter_client
```
OPTIONAL - Rebuilding the generated code
----------------------------------------
1 First [install protoc](https://github.com/google/protobuf/blob/master/INSTALL.txt) 1 First [install protoc](https://github.com/google/protobuf/blob/master/INSTALL.txt)
- For now, this needs to be installed from source - For now, this needs to be installed from source
@ -36,16 +49,3 @@ $
$ # from ths dir; invoke protoc $ # from ths dir; invoke protoc
$ protoc -I ../protos ../protos/helloworld.proto --go_out=plugins=grpc:. $ protoc -I ../protos ../protos/helloworld.proto --go_out=plugins=grpc:.
``` ```
TRY IT!
-------
- Run the server
```sh
$ greeter_server &
```
- Run the client
```sh
$ greeter_client
```

Loading…
Cancel
Save