go get -u google.golang.org/grpc
go get -u google.golang.org/protobuf/proto
go install google.golang.org/protobuf/cmd/[email protected]
go install google.golang.org/grpc/cmd/[email protected]
go install github.com/alexeykiselev/vtprotobuf/cmd/protoc-gen-go-vtproto@main
Package structure
grpc/protobuf-schemas/ - a submodule of protobuf-schemas
project (proto files).
grpc/generated - code generated from proto files.
grpc/server - gRPC server implementation (API).
Instructions
If you want to update proto schemas:
cd pkg/grpc/protobuf-schemas
git submodule update --init
git pull
If you want to regenerate the code from updated schemas: