Add missing comma

This commit is contained in:
Eliot Whalan 2016-06-24 17:12:32 +10:00
parent 79eceb27d4
commit cda25cc55a
No known key found for this signature in database
GPG Key ID: C0A42175139840D6
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ func save(raw string, lang string, title string) []string {
check(err) check(err)
sha := hash(raw) sha := hash(raw)
query, err := db.Query("select id, title hash, data, delkey from pastebin") query, err := db.Query("select id, title, hash, data, delkey from pastebin")
for query.Next() { for query.Next() {
var id, title, hash, paste, delkey string var id, title, hash, paste, delkey string
err := query.Scan(&id, &title, &hash, &paste, &delkey) err := query.Scan(&id, &title, &hash, &paste, &delkey)