Skip to content

Commit d094a45

Browse files
committed
style: goimports code
1 parent 90de059 commit d094a45

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

auth/auth_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ package auth
33
import (
44
"context"
55
"fmt"
6+
"testing"
7+
68
"github.com/brianvoe/gofakeit/v6"
79
embeddedpostgres "github.com/fergusstrange/embedded-postgres"
810
"github.com/jiaozifs/jiaozifs/config"
@@ -12,7 +14,6 @@ import (
1214
"github.com/stretchr/testify/require"
1315
"github.com/uptrace/bun"
1416
"go.uber.org/fx/fxtest"
15-
"testing"
1617
)
1718

1819
var testConnTmpl = "postgres://postgres:postgres@localhost:%d/jiaozifs?sslmode=disable"

auth/basic_auth.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ package auth
22

33
import (
44
"context"
5-
"github.com/jiaozifs/jiaozifs/config"
65
"time"
76

7+
"github.com/jiaozifs/jiaozifs/config"
8+
89
"github.com/golang-jwt/jwt"
910
openapi_types "github.com/oapi-codegen/runtime/types"
1011

controller/user_ctl.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ package controller
22

33
import (
44
"encoding/json"
5+
"net/http"
6+
57
"github.com/jiaozifs/jiaozifs/config"
68
"github.com/jiaozifs/jiaozifs/models"
7-
"net/http"
89

910
"github.com/jiaozifs/jiaozifs/api"
1011
"github.com/jiaozifs/jiaozifs/auth"

0 commit comments

Comments
 (0)