fix: replace archived github.com/golang/mock with go.uber.org/mock #2053
Annotations
10 errors
Run golangci-lint:
internal/hcapi2/mock/client.go#L35
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockActionClient
|
Run golangci-lint:
internal/hcapi2/mock/client.go#L36
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockCertificateClient
|
Run golangci-lint:
internal/hcapi2/mock/client.go#L37
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockDatacenterClient
|
Run golangci-lint:
internal/hcapi2/mock/client.go#L38
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockFirewallClient
|
Run golangci-lint:
internal/hcapi2/mock/client.go#L39
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockFloatingIPClient
|
Run golangci-lint:
internal/hcapi2/mock/client.go#L40
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockPrimaryIPClient
|
Run golangci-lint:
internal/hcapi2/mock/client.go#L41
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockImageClient
|
Run golangci-lint:
internal/hcapi2/mock/client.go#L42
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockLocationClient
|
Run golangci-lint:
internal/hcapi2/mock/client.go#L43
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockLoadBalancerClient
|
Run golangci-lint:
internal/hcapi2/mock/client.go#L44
cannot use ctrl (variable of type *"github.com/golang/mock/gomock".Controller) as *"go.uber.org/mock/gomock".Controller value in argument to NewMockLoadBalancerTypeClient
|
Loading