Registry / testing / vektra-mockery-v2

vektra-mockery-v2

JSON →
library2.53.6gogounverified

Mockery is a mock code autogenerator for Go interfaces, supporting testify and other mocking frameworks.

go get github.com/vektra/mockery/v2
INSTALL
IMPORT
SIG · VEKTRA-MOCKERY-V2
V
vektra-mockery-v2
testinggov2.53.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

mockery
✓ github.com/vektra/mockery/v2

Demonstrates importing mockery v2 package (typically used as a CLI tool).

package main import ( "fmt" "github.com/vektra/mockery/v2/pkg" ) func main() { fmt.Println("Mockery v2 is a code generator; use via CLI or as a library.") }
Debug
Known issues
breakingMockery v2 has breaking changes from v1; configuration and output may differ.
fix
Review the v2 migration guide and update mockery configuration.
affects: >=2.0.0
Upgrade
Version history
2.53.6latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
vektra-mockery-v2 — go get vektra-mockery-v2 · libregistry