counterfeiter v6.1.0 Release Notes

Release Date: 2019-06-03 // over 2 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