Add missing comma
This commit is contained in:
parent
746a08a56a
commit
79f53f9adc
2
main.go
2
main.go
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue