From 59a9dd9d5c4423023f5de39d5f50dbfbd2c07c8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Nieto?= <jose.carlos@menteslibres.net> Date: Sun, 26 Jul 2015 11:36:57 -0500 Subject: [PATCH] Revert "Chaning imports with goimports.". This reverts commit 90bca12c7f22eb7eae7da47b78855ad12fb6f69e. --- mongo/benchmark_test.go | 5 ++--- mysql/database.go | 1 - postgresql/database.go | 1 - ql/database.go | 1 - sqlite/database.go | 1 - util/sqlutil/result/table.go | 1 - 6 files changed, 2 insertions(+), 8 deletions(-) diff --git a/mongo/benchmark_test.go b/mongo/benchmark_test.go index 0434f2b3..abd98082 100644 --- a/mongo/benchmark_test.go +++ b/mongo/benchmark_test.go @@ -2,11 +2,10 @@ package mongo import ( "fmt" - "math/rand" - "testing" - "gopkg.in/mgo.v2" "gopkg.in/mgo.v2/bson" + "math/rand" + "testing" "upper.io/db" ) diff --git a/mysql/database.go b/mysql/database.go index 5f58051c..960bc15c 100644 --- a/mysql/database.go +++ b/mysql/database.go @@ -24,7 +24,6 @@ package mysql import ( "database/sql" "strings" - "text/template" "time" _ "github.com/go-sql-driver/mysql" // MySQL driver. diff --git a/postgresql/database.go b/postgresql/database.go index c20266a7..08729394 100644 --- a/postgresql/database.go +++ b/postgresql/database.go @@ -25,7 +25,6 @@ import ( "database/sql" "strconv" "strings" - "text/template" "time" "github.com/jmoiron/sqlx" diff --git a/ql/database.go b/ql/database.go index f76692ee..949d7938 100644 --- a/ql/database.go +++ b/ql/database.go @@ -25,7 +25,6 @@ import ( "database/sql" "strconv" "strings" - "text/template" "time" _ "github.com/cznic/ql/driver" // QL driver diff --git a/sqlite/database.go b/sqlite/database.go index 5f0a4d7f..c75247d3 100644 --- a/sqlite/database.go +++ b/sqlite/database.go @@ -25,7 +25,6 @@ import ( "database/sql" "fmt" "strings" - "text/template" "time" "github.com/jmoiron/sqlx" diff --git a/util/sqlutil/result/table.go b/util/sqlutil/result/table.go index b45153b4..12076d80 100644 --- a/util/sqlutil/result/table.go +++ b/util/sqlutil/result/table.go @@ -2,7 +2,6 @@ package result import ( "database/sql" - "github.com/jmoiron/sqlx" "upper.io/db/util/sqlgen" ) -- GitLab