Установка GRPC в Golang

Linux

$ apt install -y protobuf-compiler
$ protoc --version  # Ensure compiler version is 3+

Mac OS

$ brew install protobuf
$ protoc --version  # Ensure compiler version is 3+

Golang

$ go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28
$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2