style: format code with goimports

This commit is contained in:
Ivan R. 2024-03-26 00:51:55 +05:00
parent 5aa2cee5b1
commit 4a9cec52ad
No known key found for this signature in database
GPG key ID: 56C7BAAE859B302C
6 changed files with 11 additions and 5 deletions

View file

@ -1,8 +1,9 @@
package database
import (
_ "github.com/mattn/go-sqlite3"
"testing"
_ "github.com/mattn/go-sqlite3"
)
func TestAdmins(t *testing.T) {

View file

@ -2,6 +2,7 @@ package database
import (
"database/sql"
_ "github.com/mattn/go-sqlite3"
"github.com/ordinary-dev/phoenix/config"
)

View file

@ -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"

View file

@ -1,8 +1,9 @@
package database
import (
_ "github.com/mattn/go-sqlite3"
"testing"
_ "github.com/mattn/go-sqlite3"
)
func TestGroups(t *testing.T) {

View file

@ -1,8 +1,9 @@
package database
import (
_ "github.com/mattn/go-sqlite3"
"testing"
_ "github.com/mattn/go-sqlite3"
)
func TestLinks(t *testing.T) {

View file

@ -1,8 +1,9 @@
package database
import (
_ "github.com/mattn/go-sqlite3"
"testing"
_ "github.com/mattn/go-sqlite3"
)
func TestMigrations(t *testing.T) {