feat: init repo

This commit is contained in:
Rogee
2025-01-09 19:11:01 +08:00
parent b9cc63fe8a
commit 1c7b603769
149 changed files with 20066 additions and 10 deletions

23
backend/buf.gen.yaml Normal file
View File

@@ -0,0 +1,23 @@
version: v2
inputs:
- directory: proto
managed:
enabled: true
override:
- file_option: go_package_prefix
value: backend/pkg/proto
plugins:
- local: protoc-gen-go
out: pkg/proto
opt: paths=source_relative
- local: protoc-gen-grpc-gateway
out: pkg/proto
opt:
- paths=source_relative
- generate_unbound_methods=true
- local: protoc-gen-go-grpc
out: pkg/proto
opt: paths=source_relative
# - local: protoc-gen-openapiv2
# out: docs/proto