feat: 初始化多机器人服务端项目框架
基于Go语言构建多机器人服务端框架,包含配置管理、事件总线、依赖注入等核心模块 添加项目基础结构、README、gitignore和初始代码实现
This commit is contained in:
13
cmd/server/main.go
Normal file
13
cmd/server/main.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package main
|
||||
|
||||
import "cellbot/internal/di"
|
||||
|
||||
func main() {
|
||||
app := NewApp()
|
||||
app.Run()
|
||||
}
|
||||
|
||||
// NewApp 创建应用实例
|
||||
func NewApp() *di.App {
|
||||
return di.NewApp()
|
||||
}
|
||||
Reference in New Issue
Block a user