v4.0.0
Changes
This release removes a lot of cruft from Pegomock. Reflection-based and sourced-based mock generation have been removed, because they don't support generics. The only and default method for mock generation is based on golang.org/x/tools/go/packages
.
It also removes a lot matchers and matcher code, that is not necessary anymore, now that matchers can use generics too.
The README was updated to document these changes.
Migrating code from v3 to v4
Replace all matcher calls such as EqString(...)
and EqInt(...)
with the simpler Eq(...)
.