counterfeiter v6.1.0 Release Notes

Release Date: 2019-06-03 // almost 5 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