From 1e9a29488c413328d1036784b55404c3933af15b Mon Sep 17 00:00:00 2001 From: Allan Nava Date: Wed, 29 Nov 2023 11:59:04 +0100 Subject: [PATCH] added proto stuff, WIP --- proto/README.md | 10 ++++++++++ proto/models/credential.proto | 0 proto/models/customer.proto | 0 3 files changed, 10 insertions(+) create mode 100644 proto/README.md create mode 100644 proto/models/credential.proto create mode 100644 proto/models/customer.proto diff --git a/proto/README.md b/proto/README.md new file mode 100644 index 0000000..7386e8d --- /dev/null +++ b/proto/README.md @@ -0,0 +1,10 @@ +# Compress go gRPC + + +```bash +cd proto/models +ls | xargs -I {} mkdir -p ../generated/{} +ls | xargs -I {} protoc --go_out=../generated/{} --go_opt=paths=source_relative \ + --go-grpc_out=../generated/{} --go-grpc_opt=paths=source_relative \ + {} +`````` \ No newline at end of file diff --git a/proto/models/credential.proto b/proto/models/credential.proto new file mode 100644 index 0000000..e69de29 diff --git a/proto/models/customer.proto b/proto/models/customer.proto new file mode 100644 index 0000000..e69de29