diff --git a/mongo/benchmark_test.go b/mongo/benchmark_test.go
index 0434f2b3e142d3430c2ae503aa748eaaec8db477..abd98082a2bed968cda6d82dd4ac1933b9c9751c 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 5f58051cb1bd15d0702d4152f38cfcd362065122..960bc15c20b369810010bc52a7b9811801daaede 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 c20266a7042389e2a37f1e072d8ce4940985caca..0872939404746dd009cf465b014af5b5114960dc 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 f76692eec66564920194e350cecfef83331d4d64..949d79386b65c0aa250fd2ae49b90e9b46267140 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 5f0a4d7f8e513e73bad4ae765fd078bbbdd0cbec..c75247d364220f541c16673e62f4ec2306e181e6 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 b45153b4ed03d3fb2a8bcaa1745c43dea01e021b..12076d80629c02daec0635f3e29e40a86cd023de 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"
 )