update readme

This commit is contained in:
谢小军
2020-01-12 21:55:59 +08:00
parent 2211c3ca5d
commit 69a5d93269
4 changed files with 13 additions and 2 deletions

View File

@@ -33,7 +33,8 @@ func TestFuncGet(t *testing.T) {
fmt.Println(account)
dbs := db.Where("name = ?", "bbbb")
accounts, err := model.AccountMgr(dbs).Gets() // 多个获取
accountMgr.UpdateDB(dbs) // 更新数据库
accounts, err := accountMgr.Gets() // 多个获取
fmt.Println(err)
fmt.Println(accounts)
}