refactor(backend): 引入 Wire 重构服务启动与依赖组装

This commit is contained in:
Forest
2025-12-18 21:16:00 +08:00
parent 9b4fc42457
commit e5aa676853
7 changed files with 279 additions and 61 deletions

6
backend/Makefile Normal file
View File

@@ -0,0 +1,6 @@
.PHONY: wire
wire:
@echo "生成 Wire 代码..."
@cd cmd/server && go generate
@echo "Wire 代码生成完成"