Skip to content

Commit

Permalink
Add reconstructed protobuf definitions and go code for it.
Browse files Browse the repository at this point in the history
  • Loading branch information
icedream committed Mar 15, 2024
1 parent 8724110 commit 9cff8af
Show file tree
Hide file tree
Showing 17 changed files with 7,497 additions and 24 deletions.
13 changes: 13 additions & 0 deletions eaas/buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: v1
plugins:
- plugin: buf.build/protocolbuffers/go:v1.31.0
out: .
opt: paths=source_relative
- plugin: buf.build/grpc/go
out: .
opt: paths=source_relative
# - name: grpc-gateway
# out: .
# opt:
# - paths=source_relative
# - generate_unbound_methods=true
8 changes: 8 additions & 0 deletions eaas/buf.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Generated by buf. DO NOT EDIT.
version: v1
deps:
- remote: buf.build
owner: googleapis
repository: googleapis
commit: ee48893a270147348e3edc6c1a03de0e
digest: shake256:a35b0576a2b55dad72747e786af05c03539c2b96be236c9de39fe10d551931ac252eb68445c0cef6bbd27fa20e8c26eee5b8a9fe9c2fde6f63a03e18f8cf980d
3 changes: 3 additions & 0 deletions eaas/buf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
version: v1
deps:
- buf.build/googleapis/googleapis
3 changes: 3 additions & 0 deletions eaas/gen_proto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package server

//go:generate go run -mod=mod github.com/bufbuild/buf/cmd/buf generate
Loading

0 comments on commit 9cff8af

Please sign in to comment.