Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdd05a6b

Browse files
authored
chore: mockgen archived, moved to new location (#11415)
* chore: mockgen archived, moved to new location
1 parentbb35106 commitdd05a6b

File tree

21 files changed

+342
-323
lines changed

21 files changed

+342
-323
lines changed

‎.github/workflows/ci.yaml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ jobs:
188188
go install storj.io/drpc/cmd/protoc-gen-go-drpc@v0.0.33
189189
go install golang.org/x/tools/cmd/goimports@latest
190190
go install github.com/mikefarah/yq/v4@v4.30.6
191-
go installgithub.com/golang/mock/mockgen@v1.6.0
191+
go installgo.uber.org/mock/mockgen@v0.4.0
192192
193193
-name:Install Protoc
194194
run:|
@@ -450,7 +450,7 @@ jobs:
450450
go install storj.io/drpc/cmd/protoc-gen-go-drpc@v0.0.33
451451
go install golang.org/x/tools/cmd/goimports@latest
452452
go install github.com/mikefarah/yq/v4@v4.30.6
453-
go installgithub.com/golang/mock/mockgen@v1.6.0
453+
go installgo.uber.org/mock/mockgen@v0.4.0
454454
455455
-name:Install Protoc
456456
run:|
@@ -592,7 +592,7 @@ jobs:
592592
go install storj.io/drpc/cmd/protoc-gen-go-drpc@v0.0.33
593593
go install golang.org/x/tools/cmd/goimports@latest
594594
go install github.com/mikefarah/yq/v4@v4.30.6
595-
go installgithub.com/golang/mock/mockgen@v1.6.0
595+
go installgo.uber.org/mock/mockgen@v0.4.0
596596
597597
-name:Setup sqlc
598598
uses:./.github/actions/setup-sqlc

‎.github/workflows/security.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
-name:Install yq
7676
run:go run github.com/mikefarah/yq/v4@v4.30.6
7777
-name:Install mockgen
78-
run:go installgithub.com/golang/mock/mockgen@v1.6.0
78+
run:go installgo.uber.org/mock/mockgen@v0.4.0
7979
-name:Install protoc-gen-go
8080
run:go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.30
8181
-name:Install protoc-gen-go-drpc

‎agent/agent_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import (
2727
"time"
2828

2929
"github.com/bramvdbogaerde/go-scp"
30-
"github.com/golang/mock/gomock"
3130
"github.com/google/uuid"
3231
"github.com/pion/udp"
3332
"github.com/pkg/sftp"
@@ -37,6 +36,7 @@ import (
3736
"github.com/stretchr/testify/assert"
3837
"github.com/stretchr/testify/require"
3938
"go.uber.org/goleak"
39+
"go.uber.org/mock/gomock"
4040
"golang.org/x/crypto/ssh"
4141
"golang.org/x/exp/slices"
4242
"golang.org/x/xerrors"

‎agent/agentproc/agentproctest/syscallermock.go‎

Lines changed: 9 additions & 4 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎agent/agentproc/proc_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"syscall"
66
"testing"
77

8-
"github.com/golang/mock/gomock"
98
"github.com/spf13/afero"
109
"github.com/stretchr/testify/require"
10+
"go.uber.org/mock/gomock"
1111
"golang.org/x/xerrors"
1212

1313
"github.com/coder/coder/v2/agent/agentproc"

‎coderd/database/dbauthz/setup_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ import (
99
"strings"
1010
"testing"
1111

12-
"github.com/golang/mock/gomock"
1312
"github.com/google/uuid"
1413
"github.com/open-policy-agent/opa/topdown"
1514
"github.com/stretchr/testify/require"
1615
"github.com/stretchr/testify/suite"
16+
"go.uber.org/mock/gomock"
1717
"golang.org/x/xerrors"
1818

1919
"cdr.dev/slog"

‎coderd/database/dbmock/dbmock.go‎

Lines changed: 300 additions & 295 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎coderd/database/tx_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"database/sql"
55
"testing"
66

7-
"github.com/golang/mock/gomock"
87
"github.com/lib/pq"
98
"github.com/stretchr/testify/require"
9+
"go.uber.org/mock/gomock"
1010
"golang.org/x/xerrors"
1111

1212
"github.com/coder/coder/v2/coderd/database"

‎coderd/healthcheck/database_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"testing"
66
"time"
77

8-
"github.com/golang/mock/gomock"
98
"github.com/stretchr/testify/assert"
109
"github.com/stretchr/testify/require"
10+
"go.uber.org/mock/gomock"
1111
"golang.org/x/xerrors"
1212

1313
"github.com/coder/coder/v2/coderd/database/dbmock"

‎coderd/provisionerjobs_internal_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ import (
1010
"testing"
1111
"time"
1212

13-
"github.com/golang/mock/gomock"
1413
"github.com/google/uuid"
1514
"github.com/stretchr/testify/assert"
1615
"github.com/stretchr/testify/require"
16+
"go.uber.org/mock/gomock"
1717
"nhooyr.io/websocket"
1818

1919
"cdr.dev/slog/sloggers/slogtest"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp