Update README.md
This commit is contained in:
parent
2277b0cde4
commit
ee574ae9b8
@ -17,7 +17,7 @@ Then import the validator package into your own code.
|
|||||||
|
|
||||||
示例:
|
示例:
|
||||||
```golang
|
```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 {
|
if e != nil {
|
||||||
fmt.Println("err:", e)
|
fmt.Println("err:", e)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user