enterprise/common/global/global.go

12 lines
140 B
Go
Raw Normal View History

2023-08-04 11:13:41 +08:00
package global
func InitGlobal() {
if err := initDB(); err != nil {
panic(err)
}
if err := initLog(); err != nil {
panic(err)
}
}