Skip to content

Commit

Permalink
remove golang/mock module as it is no longer used
Browse files Browse the repository at this point in the history
Signed-off-by: rahulii <[email protected]>
  • Loading branch information
rahulii committed Feb 7, 2024
1 parent 4851e0a commit 6cd63fd
Show file tree
Hide file tree
Showing 18 changed files with 25 additions and 3,670 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ require (
github.com/go-sql-driver/mysql v1.7.1
github.com/gobwas/glob v0.2.3
github.com/gocql/gocql v1.6.0
github.com/golang/mock v1.6.0
github.com/google/go-cmp v0.6.0
github.com/google/go-github/v50 v50.2.0
github.com/google/uuid v1.5.0
Expand Down
1 change: 0 additions & 1 deletion hack/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ package tools

import (
// Import code-generator to use in build tools
_ "github.com/golang/mock/mockgen"
_ "go.uber.org/mock/mockgen"
_ "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
_ "google.golang.org/protobuf/cmd/protoc-gen-go"
Expand Down
43 changes: 24 additions & 19 deletions pkg/scalers/liiklus/mocks/mock_liiklus.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/scalers/liiklus_scaler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"

"github.com/go-logr/logr"
"github.com/golang/mock/gomock"
"go.uber.org/mock/gomock"

"github.com/kedacore/keda/v2/pkg/scalers/liiklus"
mock_liiklus "github.com/kedacore/keda/v2/pkg/scalers/liiklus/mocks"
Expand Down
12 changes: 0 additions & 12 deletions vendor/github.com/golang/mock/AUTHORS

This file was deleted.

37 changes: 0 additions & 37 deletions vendor/github.com/golang/mock/CONTRIBUTORS

This file was deleted.

Loading

0 comments on commit 6cd63fd

Please sign in to comment.