tree: 3a36f3dd2cf813d442538d4aeb22d2fb492311c2 [path history] [tgz]
  1. impl.go
  2. README.md
  3. traceservice.pb.go
  4. traceservice.proto
  5. traceservice_test.go
go/trace/service/README.md

To compile the proto buffers definition you need to install version 4.0 of protocol buffers.

Check out the repository and compile it run:

$ git clone git@github.com:google/protobuf.git
$ ./configure --diable-shared
$ make
$ make check
$ sudo make install

The ‘disabled-shared’ option is necessary if an older version of protoc is already installed on your system.

Install the necessary go packages:

go get -a github.com/golang/protobuf/protoc-gen-go
go get -u google.golang.org/grpc

To generate code run in this directory:

go generate ./...

Or use protoc directly:

protoc --go_out=plugins=grpc:. traceservice.proto