July 2017
Beginner to intermediate
358 pages
10h 54m
English
The main problem with setting up a gRPC project is installing the protoc application and the various plugins that are obtained from the following URL: https://github.com/google/protobuf/releases
We then need to install the Go packages for gRPC and the code generation plugin for protoc:
$ go get google.golang.org/grpc$ go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
For convenience, I have created a Docker container that has all these packages (nicholasjackson/building-microservices-in-go). If you take a look at Makefile in the example code at chapter4/grpc/Makefile, you will see that we are using the power of Docker to save the hassle of having to install any applications.
Read now
Unlock full access