Use string for id column
This commit is contained in:
parent
ce7ae3be1a
commit
58e873b3c0
2
main.go
2
main.go
@ -54,7 +54,7 @@ func main() {
|
|||||||
var skipped int
|
var skipped int
|
||||||
var failed int
|
var failed int
|
||||||
for rows.Next() {
|
for rows.Next() {
|
||||||
var id int
|
var id string
|
||||||
var raw string
|
var raw string
|
||||||
if err = rows.Scan(&id, &raw); err != nil {
|
if err = rows.Scan(&id, &raw); err != nil {
|
||||||
log.Print(err)
|
log.Print(err)
|
||||||
|
Reference in New Issue
Block a user