Skip to content

v3.0.0

Compare
Choose a tag to compare
@petergtz petergtz released this 03 May 19:26
· 23 commits to main since this release

This release drops support for non-Go modules based setups. For those still requiring this support, it's recommended to stick with version 2.

There are no breaking API changes with the switch to v3. Migration from version 1 or 2 involves two steps:

  1. Change import paths as follows:
    -import "github.com/petergtz/pegomock"
    +import "github.com/petergtz/pegomock/v3"
  2. Install the latest pegomock binary via
    go install github.com/petergtz/pegomock/v3/pegomock@latest

For step 1, make sure to change sub-packages as follows:

-import "github.com/petergtz/pegomock/ginkgo_compatible"
+import "github.com/petergtz/pegomock/v3/ginkgo_compatible"