feat: 初始化多机器人服务端项目框架

基于Go语言构建多机器人服务端框架,包含配置管理、事件总线、依赖注入等核心模块
添加项目基础结构、README、gitignore和初始代码实现
This commit is contained in:
2026-01-04 21:19:17 +08:00
commit ac0dfb64c9
22 changed files with 2385 additions and 0 deletions

11
internal/di/app.go Normal file
View File

@@ -0,0 +1,11 @@
package di
import "go.uber.org/fx"
// NewApp 创建应用实例
func NewApp() *fx.App {
return fx.New(
Providers,
Lifecycle,
)
}