1.0.0
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file framework.go
|
||||
* @author MakerYang
|
||||
******************************************************************************
|
||||
*/
|
||||
#*****************************************************************************
|
||||
# @file framework.go
|
||||
# @author MakerYang(https://www.makeryang.com)
|
||||
# @statement 免费课程配套开源项目,任何形式收费均为盗版
|
||||
#*****************************************************************************
|
||||
*/
|
||||
|
||||
package Framework
|
||||
|
||||
import (
|
||||
"Game/framework/config"
|
||||
"Game/framework/controller"
|
||||
"Game/framework/database"
|
||||
"Game/framework/interface"
|
||||
)
|
||||
|
||||
func Init() {
|
||||
@@ -18,6 +19,6 @@ func Init() {
|
||||
Config.Init()
|
||||
// 初始化数据库
|
||||
Database.Init()
|
||||
// 初始化控制器
|
||||
Controller.Init()
|
||||
// 初始化接口路由
|
||||
Interface.Init()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user