This commit is contained in:
aozhiwei 2023-09-25 21:02:25 +08:00
parent 083ab76603
commit f0e3bb2920
6 changed files with 6 additions and 17 deletions

View File

@ -1,4 +0,0 @@
package main
var app = new(App)
var ginMgr = new(GinMgr)

View File

@ -0,0 +1,5 @@
package initialize
func Init() {
}

View File

@ -1,10 +0,0 @@
package initialize
import (
"fmt"
"main/router"
)
func OtherInit() {
fmt.Printf("hello world! %s", router.Test())
}

View File

@ -1,11 +1,9 @@
package main
import (
"f5"
"main/initialize"
)
func main() {
initialize.OtherInit()
f5.Run(app)
initialize.Init()
}