/grpc-go-example

Example of implementing gRPC using Go

Primary LanguageGo

grpc-go-example

Example of implementing gRPC using Go

Development Environment

  • Apple MacBook Pro (13-inch, M1, 2020)
  • macOS Sonoma 14.1 (23B74)
  • go@1.21.3
  • Visual Studio Code

Install

brew install go
brew install protobuf
brew install protoc-gen-go-grpc
brew install protoc-gen-go

Run

Server side

go run main.go

or

make run-server

Client side

go run client/client.go

or

make run-client

or

See grpc-swift-ios-example