Registry / testing / vektra-mockery

vektra-mockery

JSON →
library2.30.8+incompatiblegogounverified

Package mockery is a mock code autogenerator for Go interfaces, commonly used with testify/mock.

go get github.com/vektra/mockery
INSTALL
IMPORT
SIG · VEKTRA-MOCKERY
V
vektra-mockery
testinggov2.30.8+incompatible
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

Print the mockery version.

package main import ( "fmt" "github.com/vektra/mockery/mockery" ) func main() { fmt.Println(mockery.Version) }
Debug
Known issues
breakingVersion 2 is a major rewrite; v1 and v2 have different APIs and configuration.
fix
Use v2 for new projects; check documentation for migration.
affects: >=2.0.0
Upgrade
Version history
2.30.8+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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