This commit is contained in:
xing 2022-11-05 22:44:35 +08:00
parent 97c15d30aa
commit f0dae59d18

View File

@ -9,8 +9,14 @@ import (
)
func init() {
config.InitConfig("../config.yaml")
db.InitDb()
err := config.InitConfig("../config.yaml")
if err != nil {
panic(err)
}
err = db.InitDb()
if err != nil {
panic(err)
}
}
func TestFind(t *testing.T) {
type args struct {