Solution 4: Working with gRPC
Explore the implementation of gRPC services in Go by defining protocol buffers and creating server and client code. Understand how to build RPC methods for addition and subtraction and how to handle requests and responses using Go's gRPC framework.
We'll cover the following...
We'll cover the following...
Solution
To execute the client side, open a new terminal window and run the following commands:
export GOROOT=/usr/local/go; export GOPATH=$HOME/go; export PATH=$GOPATH/bin:$GOROOT/bin:$PATH; cd usercode;go run gClient.go
...