2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 12:40:25 +08:00
Files
panel/bootstrap/app.go
2024-05-29 21:31:01 +08:00

21 lines
313 B
Go

package bootstrap
import (
"github.com/gookit/validate/locales/zhcn"
"github.com/goravel/framework/foundation"
"github.com/TheTNB/panel/config"
)
func Boot() {
zhcn.RegisterGlobal()
app := foundation.NewApplication()
// Bootstrap the application
app.Boot()
// Bootstrap the config.
config.Boot()
}