This project demonstrates how to build and use gRPC services in Go.
- Define gRPC services using Protocol Buffers
- Implement server and client in Go
- Example request/response handling
- Go 1.18+
protoc
Protocol Buffers compilerprotoc-gen-go
andprotoc-gen-go-grpc
plugins
-
Clone the repository:
git clone https://github.com/MagicRodri/grpc_with_go.git cd grpc_with_go
-
Install dependencies:
go mod tidy
-
Generate gRPC code:
make proto
-
Start the server:
go run server/main.go