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