aboutsummaryrefslogtreecommitdiff
path: root/sqlite3.go
diff options
context:
space:
mode:
Diffstat (limited to 'sqlite3.go')
-rw-r--r--sqlite3.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/sqlite3.go b/sqlite3.go
index d3afff5..b566d92 100644
--- a/sqlite3.go
+++ b/sqlite3.go
@@ -284,11 +284,11 @@ func (rc *SQLiteRows) Next(dest []driver.Value) error {
switch C.sqlite3_column_type(rc.s.s, C.int(i)) {
case C.SQLITE_INTEGER:
val := int64(C.sqlite3_column_int64(rc.s.s, C.int(i)))
- switch rc.decltype[i]{
+ switch rc.decltype[i] {
case "timestamp":
dest[i] = time.Unix(val, 0)
case "boolean":
- dest[i] = val>0
+ dest[i] = val > 0
default:
dest[i] = val
}