This commit is contained in:
aozhiwei 2023-09-07 12:12:32 +08:00
parent adf79d1253
commit 40c25c5a0d
4 changed files with 9 additions and 5 deletions

View File

@ -1,4 +1,4 @@
package main
package app
import (
"f5"

View File

@ -0,0 +1,5 @@
package app
func GetApp() *App {
return nil
}

View File

@ -1,3 +0,0 @@
package main
var app = new(App)

View File

@ -2,8 +2,10 @@ package main
import (
"f5"
"main/app"
)
func main() {
f5.Run(app)
f5.Run(app.GetApp())
}