diff --git a/database/admins_test.go b/database/admins_test.go index b5251c4..4028896 100644 --- a/database/admins_test.go +++ b/database/admins_test.go @@ -1,8 +1,9 @@ package database import ( - _ "github.com/mattn/go-sqlite3" "testing" + + _ "github.com/mattn/go-sqlite3" ) func TestAdmins(t *testing.T) { diff --git a/database/connection.go b/database/connection.go index 76ce278..2fd569c 100644 --- a/database/connection.go +++ b/database/connection.go @@ -2,6 +2,7 @@ package database import ( "database/sql" + _ "github.com/mattn/go-sqlite3" "github.com/ordinary-dev/phoenix/config" ) diff --git a/database/connection_test.go b/database/connection_test.go index a361def..f9c3c2c 100644 --- a/database/connection_test.go +++ b/database/connection_test.go @@ -2,9 +2,10 @@ package database import ( "database/sql" - _ "github.com/mattn/go-sqlite3" "os" "testing" + + _ "github.com/mattn/go-sqlite3" ) const TEST_DB_PATH = "/tmp/phoenix.sqlite3" diff --git a/database/groups_test.go b/database/groups_test.go index a280a59..a98ed52 100644 --- a/database/groups_test.go +++ b/database/groups_test.go @@ -1,8 +1,9 @@ package database import ( - _ "github.com/mattn/go-sqlite3" "testing" + + _ "github.com/mattn/go-sqlite3" ) func TestGroups(t *testing.T) { diff --git a/database/links_test.go b/database/links_test.go index e1c0a21..e735f84 100644 --- a/database/links_test.go +++ b/database/links_test.go @@ -1,8 +1,9 @@ package database import ( - _ "github.com/mattn/go-sqlite3" "testing" + + _ "github.com/mattn/go-sqlite3" ) func TestLinks(t *testing.T) { diff --git a/database/migrations_test.go b/database/migrations_test.go index 411f21d..fd53730 100644 --- a/database/migrations_test.go +++ b/database/migrations_test.go @@ -1,8 +1,9 @@ package database import ( - _ "github.com/mattn/go-sqlite3" "testing" + + _ "github.com/mattn/go-sqlite3" ) func TestMigrations(t *testing.T) {