add
This commit is contained in:
@@ -8,8 +8,8 @@ import (
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
// Init 初始化基础设施
|
||||
func Init() {
|
||||
// Launch 初始化基础设施
|
||||
func Launch() {
|
||||
launchLogger()
|
||||
launchDB()
|
||||
cnfigGin()
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
infra.Init()
|
||||
infra.Launch()
|
||||
configRouter()
|
||||
startServe()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user