Merge pull request #542 from edussx/master

5.3 SQLite fixed
This commit is contained in:
astaxie
2015-10-30 12:54:16 +08:00
5 changed files with 10 additions and 5 deletions

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)