测试
This commit is contained in:
parent
97c15d30aa
commit
f0dae59d18
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user