| OLD | NEW |
| (Empty) | |
| 1 To compile the proto buffers definition you need to install version 3.0 of |
| 2 protocol buffers. |
| 3 |
| 4 Check out the repository and compile it run: |
| 5 |
| 6 $ git clone git@github.com:google/protobuf.git |
| 7 $ ./configure --diable-shared |
| 8 $ make |
| 9 $ make check |
| 10 $ sudo make install |
| 11 |
| 12 The 'disabled-shared' option is necessary if an older version of |
| 13 protoc is already installed on your system. |
| 14 |
| 15 Install the necessary go packages: |
| 16 |
| 17 go get -a github.com/golang/protobuf/protoc-gen-go |
| 18 go get -u google.golang.org/grpc |
| 19 |
| 20 To generate code run in this directory: |
| 21 |
| 22 go generate ./... |
| 23 |
| 24 Or use protoc directly: |
| 25 |
| 26 protoc --go_out=plugins=grpc:. traceservice.proto |
| OLD | NEW |