Skip to content

Commit d1bb7cf

Browse files
committed
goimports
1 parent 2cf0fb2 commit d1bb7cf

File tree

5 files changed

+14
-10
lines changed

5 files changed

+14
-10
lines changed

coderd/database/dbauthz/dbauthz.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ import (
99

1010
"cdr.dev/slog"
1111

12+
"github.com/google/uuid"
13+
1214
"github.com/coder/coder/coderd/database"
1315
"github.com/coder/coder/coderd/rbac"
14-
"github.com/google/uuid"
1516
)
1617

1718
var _ database.Store = (*AuthzQuerier)(nil)

coderd/database/dbauthz/dbauthz_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,17 @@ import (
88

99
"cdr.dev/slog/sloggers/slogtest"
1010

11+
"github.com/google/uuid"
12+
"github.com/stretchr/testify/require"
13+
"golang.org/x/xerrors"
14+
1115
"cdr.dev/slog"
1216
"github.com/coder/coder/coderd/coderdtest"
1317
"github.com/coder/coder/coderd/database"
1418
"github.com/coder/coder/coderd/database/dbauthz"
1519
"github.com/coder/coder/coderd/database/dbfake"
1620
"github.com/coder/coder/coderd/database/dbgen"
1721
"github.com/coder/coder/coderd/rbac"
18-
"github.com/google/uuid"
19-
"github.com/stretchr/testify/require"
20-
"golang.org/x/xerrors"
2122
)
2223

2324
func TestPing(t *testing.T) {

coderd/database/dbauthz/methods.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ import (
77
"errors"
88
"time"
99

10-
"github.com/coder/coder/coderd/util/slice"
10+
"github.com/google/uuid"
1111
"golang.org/x/xerrors"
1212

1313
"github.com/coder/coder/coderd/database"
1414
"github.com/coder/coder/coderd/rbac"
15-
"github.com/google/uuid"
15+
"github.com/coder/coder/coderd/util/slice"
1616
)
1717

1818
func (q *AuthzQuerier) Ping(ctx context.Context) (time.Duration, error) {

coderd/database/dbauthz/methods_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ import (
55
"encoding/json"
66
"time"
77

8+
"github.com/google/uuid"
9+
"github.com/stretchr/testify/require"
10+
811
"github.com/coder/coder/coderd/database"
912
"github.com/coder/coder/coderd/database/dbgen"
1013
"github.com/coder/coder/coderd/rbac"
1114
"github.com/coder/coder/coderd/util/slice"
12-
"github.com/google/uuid"
13-
"github.com/stretchr/testify/require"
1415
)
1516

1617
func (s *MethodTestSuite) TestAPIKey() {

coderd/database/dbauthz/system_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ import (
55
"database/sql"
66
"time"
77

8-
"github.com/coder/coder/coderd/database"
9-
"github.com/coder/coder/coderd/database/dbgen"
108
"github.com/google/uuid"
119
"github.com/stretchr/testify/require"
10+
11+
"github.com/coder/coder/coderd/database"
12+
"github.com/coder/coder/coderd/database/dbgen"
1213
)
1314

1415
func (s *MethodTestSuite) TestSystemFunctions() {

0 commit comments

Comments
 (0)