This directory contains a simple gRPC implementation demonstrating a basic HelloService
using Protocol Buffers and Go.
golangci-lint
.gofmt
.govulncheck
) and Trivy.protoc
) installed (version 3.x)protoc-gen-go
and protoc-gen-go-grpc
plugins installedInstall protobuf plugins with:
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
Make sure your $GOPATH/bin
is in your PATH
so that protoc
can locate the plugins.
From the grpc/
directory, run: