feat: Update project structure and configuration files

This commit is contained in:
rogeecn
2025-03-24 09:29:38 +08:00
parent ea15a51556
commit 8de43c2861
159 changed files with 498 additions and 0 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: quyun/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