brew install protobuf clang-format
clang-format is used for format proto files
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative greet/*.proto
- Download cfssl
- Run the certGen.sh script to re-generate certificates.
sh certGen.sh
rm -rf dist && mkdir -p dist
go build -o ./dist ./cmd/...
$ ./dist/server
$ ./dist/client