tokkee's Go and gRPC talk =========================== Supporting material for a talk about Go and gRPC. Setup ----- Set up the Go workspace in a directory of your choice (<...>): $ export GOPATH=<...> $ export PATH=$GOPATH/bin:$PATH Get the source: $ go get -u tokkee.org/go-talk/grpc/... Install the program binaries: $ go install tokkee.org/go-talk/grpc/server $ go install tokkee.org/go-talk/grpc/client $ go install tokkee.org/go-talk/grpc/ui Testing ------- The programs come with a set of sample integration tests which will spin up test instances of the respective tools and run queries against them. Run all tests: $ go test tokkee.org/go-talk/grpc/integration/... Rebuilding the generated proto / gRPC code ------------------------------------------ Install protoc from https://github.com/google/protobuf/. We need version 3. Install the Go gRPC generator plugin: $ go get github.com/golang/protobuf/protoc-gen-go Rebuild the code: $ cd $GOPATH $ protoc src/tokkee.org/go-talk/grpc/proto/backend/backend.proto \ --go_out=plugins=grpc:. Author ------ Sebastian 'tokkee' Harl Licensed under the 2-clause BSD license. See LICENSE for details.