2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 13:47:15 +08:00

feat: 全局汉化验证器返回

This commit is contained in:
耗子
2023-11-06 02:52:43 +08:00
parent 485b7b9e8d
commit c6263ebe73
3 changed files with 7 additions and 4 deletions

View File

@@ -1,12 +1,15 @@
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