5.3 SQLite fixed

This commit is contained in:
Chenxiao Ma
2015-09-16 11:06:41 -07:00
committed by James Miranda
parent 9bfc859615
commit 536e9353ba

View File

@@ -30,6 +30,7 @@ An example:
import (
"database/sql"
"fmt"
"time"
_ "github.com/mattn/go-sqlite3"
)
@@ -68,7 +69,7 @@ An example:
var uid int
var username string
var department string
var created string
var created time.Time
err = rows.Scan(&uid, &username, &department, &created)
checkErr(err)
fmt.Println(uid)