File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ package auth
3
3
import (
4
4
"context"
5
5
"fmt"
6
+ "testing"
7
+
6
8
"github.com/brianvoe/gofakeit/v6"
7
9
embeddedpostgres "github.com/fergusstrange/embedded-postgres"
8
10
"github.com/jiaozifs/jiaozifs/config"
@@ -12,7 +14,6 @@ import (
12
14
"github.com/stretchr/testify/require"
13
15
"github.com/uptrace/bun"
14
16
"go.uber.org/fx/fxtest"
15
- "testing"
16
17
)
17
18
18
19
var testConnTmpl = "postgres://postgres:postgres@localhost:%d/jiaozifs?sslmode=disable"
Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ package auth
2
2
3
3
import (
4
4
"context"
5
- "github.com/jiaozifs/jiaozifs/config"
6
5
"time"
7
6
7
+ "github.com/jiaozifs/jiaozifs/config"
8
+
8
9
"github.com/golang-jwt/jwt"
9
10
openapi_types "github.com/oapi-codegen/runtime/types"
10
11
Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ package controller
2
2
3
3
import (
4
4
"encoding/json"
5
+ "net/http"
6
+
5
7
"github.com/jiaozifs/jiaozifs/config"
6
8
"github.com/jiaozifs/jiaozifs/models"
7
- "net/http"
8
9
9
10
"github.com/jiaozifs/jiaozifs/api"
10
11
"github.com/jiaozifs/jiaozifs/auth"
You can’t perform that action at this time.
0 commit comments