use fmt.Println()
This commit is contained in:
parent
b758711b08
commit
7ea7c83912
|
@ -59,7 +59,7 @@ func main() {
|
||||||
var id int
|
var id int
|
||||||
var name string
|
var name string
|
||||||
rows.Scan(&id, &name)
|
rows.Scan(&id, &name)
|
||||||
println(id, name)
|
fmt.Println(id, name)
|
||||||
}
|
}
|
||||||
rows.Close()
|
rows.Close()
|
||||||
|
|
||||||
|
@ -75,5 +75,5 @@ func main() {
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
println(name)
|
fmt.Println(name)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue