remove duplicated Close

since there's one already at line 51
type
gmarik 2015-08-16 16:39:53 -04:00
parent 0fa27b5cb0
commit 94efba9292
1 changed files with 0 additions and 1 deletions

View File

@ -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 {