初始化失败panic (#1573)
* 初始化失败panic * Update gorm_mssql.go * Update gorm_pgsql.go * Update gorm_mysql.go --------- Co-authored-by: zongqiang <zongq@rp-pet.cn> Co-authored-by: 奇淼(piexlmax <qimiaojiangjizhao@gmail.com>
This commit is contained in:
@@ -65,7 +65,7 @@ func Viper(path ...string) *viper.Viper {
|
||||
}
|
||||
})
|
||||
if err = v.Unmarshal(&global.GVA_CONFIG); err != nil {
|
||||
fmt.Println(err)
|
||||
panic(err)
|
||||
}
|
||||
|
||||
// root 适配性 根据root位置去找到对应迁移位置,保证root路径有效
|
||||
|
Reference in New Issue
Block a user