How to Interop Go with Other Languages via gRPC

Web
Use the official gRPC Go library and protoc compiler to generate code from .proto files for cross-language interoperability.

Go does not natively support gRPC; you must use the official google.golang.org/grpc library to generate code and build clients or servers. Install the protocol buffer compiler and the Go plugin, then generate Go code from your .proto files and build your service using go build.

protoc --go_out=. --go-grpc_out=. your_service.proto
go build -o your_service .