feat: add backend_v1 migration
Some checks failed
build quyun / Build (push) Has been cancelled

This commit is contained in:
2025-12-19 14:46:58 +08:00
parent 218eb4689c
commit 24bd161df9
119 changed files with 12259 additions and 0 deletions

23
backend_v1/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/v2/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