grpc-kv-examples 2025-01-26
Reorganize Go code into subdirectory with build script and update protobuf generation
8 files · 505+ · 165-

Reorganize Go into subdirectory

6 files changed
  • go-kv-client.go Go client moved from root to go/ directory
  • go-kv-server.go Go server implementation in go/ directory
  • go.mod Dedicated Go module file with proto replace directive
  • build.sh Build script that compiles client and server binaries to go/bin/
  • kv.pb.go Regenerated protobuf Go code
  • kv_grpc.pb.go Regenerated gRPC Go service code
  • Moved Go code from root into go/ subdirectory with its own go.mod and build.sh decouple internal
    4 files
    • go-kv-client.go
    • go-kv-server.go
    • go.mod
    • build.sh
  • Updated buf.gen.yaml to output generated Go code to go/proto directory decouple internal
    2 files
    • buf.gen.yaml
    • kv.pb.go