parent
0fa27b5cb0
commit
94efba9292
|
@ -55,7 +55,6 @@ func main() {
|
||||||
rows.Scan(&id, &name)
|
rows.Scan(&id, &name)
|
||||||
fmt.Println(id, name)
|
fmt.Println(id, name)
|
||||||
}
|
}
|
||||||
rows.Close()
|
|
||||||
|
|
||||||
stmt, err = db.Prepare("select name from foo where id = ?")
|
stmt, err = db.Prepare("select name from foo where id = ?")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue