remove duplicated Close
since there's one already at line 51
This commit is contained in:
@@ -55,7 +55,6 @@ func main() {
|
||||
rows.Scan(&id, &name)
|
||||
fmt.Println(id, name)
|
||||
}
|
||||
rows.Close()
|
||||
|
||||
stmt, err = db.Prepare("select name from foo where id = ?")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user