Follow these setup to run the quick start example:
-
Get the code:
$ go get github.com/teafull/grpcDemo/helloworld/greeter_client $ go get github.com/teafull/grpcDemo/helloworld/greeter_server
-
Run the server:
$ $(go env GOPATH)/bin/greeter_server &
-
Run the client:
$ $(go env GOPATH)/bin/greeter_client Greeting: Hello world
For more details (including instructions for making a small change to the example code) or if you're having trouble running this example, see Quick Start.