aboutsummaryrefslogtreecommitdiff
path: root/_example/vtable/main.go
diff options
context:
space:
mode:
Diffstat (limited to '_example/vtable/main.go')
-rw-r--r--_example/vtable/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/_example/vtable/main.go b/_example/vtable/main.go
index 2f3b8a4..aad8dda 100644
--- a/_example/vtable/main.go
+++ b/_example/vtable/main.go
@@ -31,8 +31,8 @@ func main() {
}
defer rows.Close()
for rows.Next() {
- var id, full_name, description, html_url string
- rows.Scan(&id, &full_name, &description, &html_url)
- fmt.Printf("%s: %s\n\t%s\n\t%s\n\n", id, full_name, description, html_url)
+ var id, fullName, description, htmlURL string
+ rows.Scan(&id, &fullName, &description, &htmlURL)
+ fmt.Printf("%s: %s\n\t%s\n\t%s\n\n", id, fullName, description, htmlURL)
}
}