Skip to content

v0.3.0

Compare
Choose a tag to compare
@sywhang sywhang released this 16 Sep 05:38
· 48 commits to main since this release
57226e5

Added

  • #13: Support for embedded generic interfaces.
  • #33: -write_source_comment for writing the original file or interface names
    in the generated code.
  • #46: -write-generate-directive for generating go:generate directives into
    the generated mock.
  • #60: Cond matcher for specifying a conditional matcher as the result of a
    given function.
  • #72: exclude_interfaces flag for specifying list of interfaces to exclude
    from mock generation.

Fixed

  • #41: A bug with specifying local import name with -imports flag.
  • #52: A panic that occurs in gob.Register when used in conjunction with
    golang/mock.
  • #78: InOrder can be used with type-safe mocks generated with -typed flag.

Thanks to @alexandear, @bcho, @deathiop, @sivchari, @k3forx, @n0trace,
@utgwkk, @ErfanMomeniii, @bcho, @damianopetrungaro, @tulzke,
and @EstebanOlmedo for their contributions to this release.