mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 20:48:42 +08:00
21 lines
295 B
Go
21 lines
295 B
Go
package bootstrap
|
|
|
|
import (
|
|
"github.com/gookit/validate/locales/zhcn"
|
|
"github.com/goravel/framework/foundation"
|
|
|
|
"panel/config"
|
|
)
|
|
|
|
func Boot() {
|
|
zhcn.RegisterGlobal()
|
|
|
|
app := foundation.NewApplication()
|
|
|
|
// Bootstrap the application
|
|
app.Boot()
|
|
|
|
// Bootstrap the config.
|
|
config.Boot()
|
|
}
|