From 90bca12c7f22eb7eae7da47b78855ad12fb6f69e 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:31:55 -0500 Subject: [PATCH] Chaning imports with goimports. --- 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, 8 insertions(+), 2 deletions(-) diff --git a/mongo/benchmark_test.go b/mongo/benchmark_test.go index abd98082..0434f2b3 100644 --- a/mongo/benchmark_test.go +++ b/mongo/benchmark_test.go @@ -2,11 +2,12 @@ package mongo import ( "fmt" - "gopkg.in/mgo.v2" - "gopkg.in/mgo.v2/bson" "math/rand" "testing" + "gopkg.in/mgo.v2" + "gopkg.in/mgo.v2/bson" + "upper.io/db" ) diff --git a/mysql/database.go b/mysql/database.go index 960bc15c..5f58051c 100644 --- a/mysql/database.go +++ b/mysql/database.go @@ -24,6 +24,7 @@ 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 08729394..c20266a7 100644 --- a/postgresql/database.go +++ b/postgresql/database.go @@ -25,6 +25,7 @@ import ( "database/sql" "strconv" "strings" + "text/template" "time" "github.com/jmoiron/sqlx" diff --git a/ql/database.go b/ql/database.go index 949d7938..f76692ee 100644 --- a/ql/database.go +++ b/ql/database.go @@ -25,6 +25,7 @@ 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 c75247d3..5f0a4d7f 100644 --- a/sqlite/database.go +++ b/sqlite/database.go @@ -25,6 +25,7 @@ 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 12076d80..b45153b4 100644 --- a/util/sqlutil/result/table.go +++ b/util/sqlutil/result/table.go @@ -2,6 +2,7 @@ package result import ( "database/sql" + "github.com/jmoiron/sqlx" "upper.io/db/util/sqlgen" ) -- GitLab