github maxbrunsfeld/counterfeiter v6.1.0

latest releases: v6.12.2, v6.12.1, v6.12.0...
6 years ago
  • ⚡️moar speed; speed up multiple invocations of counterfeiter in the same package by introducing caching (#123, via @joefitzgerald, partially addresses #120); on a reference package with 19 //go:generate directives:
    • 📈 counterfeiter v6.1.0 (with caching) (3.92 seconds) runs about 20.5 times faster than v6.0.2 (without caching) (80.45 seconds)
    • 📉 counterfeiter v6.1.0 (3.92 seconds) runs about 5 times slower than v5 (0.78 seconds)
    • see the PR for more details
  • 🆕 add -generate flag and new //counterfeiter:generate directive (#124, via @joefitzgerald)
  • 🐛 allow counterfeiting unexported interface methods (#112, via @davidnewhall)
  • 📖 describe how to specify third party interfaces (#116, via @glyn)
  • 📖 fix typo (#118, via @dionysius)

Detailed changes: v6.0.2...v6.1.0

Don't miss a new counterfeiter release

NewReleases is sending notifications on new releases.