You need to install few things to start contributing:
-
The protoc tool, a protocol buffer compiler.
-
The following compiler plugins:
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
To update generated files:
make generate_grpc_code
to update the go libs
go get -u google.golang.org/grpc
it should fade the errors in pubsub_grpc.pb.go and pubsub.pb.go
To cleanup go.mod run this:
go mod tidy
if error persists in go.mod delete go.sum and rerun go mod tidy
export GO_PATH=~/go export PATH=$PATH:/$GO_PATH/bin source ~/.bash_profile