feat(app): 引入 uber-go/fx 重构 DI 装配层

This commit is contained in:
lafay
2026-06-15 16:39:45 +08:00
parent a111872b32
commit d9de39a0a3
11 changed files with 348 additions and 158 deletions

View File

@@ -0,0 +1,8 @@
package app
// HandlerModule 已在阶段4移除。
//
// 当前阶段Handler 仍由 internal/container.Container + handler.RegisterRoutesWithDI
// 构造与注册(见 container_module.go 的 registerRoutes
//
// TODO(阶段6): Handler 将改为直接依赖各 Service 接口,由 fx 直接 Provide 与注册。