Initial commit
This commit is contained in:
23
server/framework/framework.go
Normal file
23
server/framework/framework.go
Normal file
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file framework.go
|
||||
* @author MakerYang
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
package Framework
|
||||
|
||||
import (
|
||||
"Game/framework/config"
|
||||
"Game/framework/controller"
|
||||
"Game/framework/database"
|
||||
)
|
||||
|
||||
func Init() {
|
||||
// 初始化配置
|
||||
Config.Init()
|
||||
// 初始化数据库
|
||||
Database.Init()
|
||||
// 初始化控制器
|
||||
Controller.Init()
|
||||
}
|
||||
Reference in New Issue
Block a user