Skip to content

Add github.com/matryer/moq style mocks into mockery #342

Add github.com/matryer/moq style mocks into mockery

Add github.com/matryer/moq style mocks into mockery #342

Triggered via pull request November 20, 2023 00:50
Status Failure
Total duration 39s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: pkg/template_generator.go#L36
expected operand, found '}' (typecheck)
lint: pkg/template_generator.go#L38
missing ',' in composite literal (typecheck)
lint: pkg/template_generator.go#L39
expected '}', found 'EOF' (typecheck)
lint: pkg/registry/method_scope.go#L1
: # github.com/vektra/mockery/v2/pkg/registry [github.com/vektra/mockery/v2/pkg/registry.test]
lint: pkg/registry/method_scope.go#L83
undefined: stripVendorPath
lint: pkg/registry/package.go#L4
imported and not used: "path"
lint: pkg/registry/package.go#L45
undefined: stripVendorPath
lint: pkg/registry/registry.go#L82
undefined: stripVendorPath
lint: pkg/registry/var.go#L33
undefined: stripVendorPath
lint: pkg/registry/registry_test.go#L9
cannot use "../../pkg/moq/testpackages/example" (untyped string constant) as *packages.Package value in argument to New