From ee574ae9b817df03391e74e0619037c55b068fa1 Mon Sep 17 00:00:00 2001 From: Au <1570967070@qq.com> Date: Fri, 27 Apr 2018 13:09:17 +0800 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index df36e947..c3eb3acf 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Then import the validator package into your own code. 示例: ```golang -datas, e := DB.RawMap("select * from users where user_id=?", 123) +datas, e := db.RawMap("select * from users where user_id=?", 123) if e != nil { fmt.Println("err:", e) }