file-system/buf.gen.yaml
向宁 ed47904a85 chore: initialize Kratos project skeleton, add proto config and Makefile
- Add Makefile with api/config/wire/build/run/test/clean targets
- Update buf.yaml with api, internal/conf, and third_party modules
- Update buf.gen.yaml with protobuf, grpc, and grpc-gateway plugins
- Add internal/conf/conf.proto (Kratos config schema: Bootstrap/Server/Data/Auth)
- Generate internal/conf/conf.pb.go via buf
- Add configs/config.yaml with HTTP/gRPC server, Postgres, S3, and auth settings
- Add third_party/google/api proto files (annotations, http)
- Remove old Gin-based layers: internal/api, internal/infrastructure/mediator,
  internal/middleware, internal/common, docs
- Update .gitignore to exclude server binary and bin/
2026-05-25 12:37:45 +08:00

20 lines
566 B
YAML

version: v2
managed:
enabled: false
plugins:
- remote: buf.build/protocolbuffers/go
out: .
opt: paths=source_relative
- remote: buf.build/grpc/go
out: .
opt: paths=source_relative
- remote: buf.build/grpc-ecosystem/gateway
out: .
opt: paths=source_relative
# Kratos HTTP code generation uses local protoc-gen-go-http
# Install: go install github.com/go-kratos/kratos/cmd/protoc-gen-go-http/v2@latest
# Uncomment after installing kratos dependencies:
# - local: protoc-gen-go-http
# out: .
# opt: paths=source_relative