github uber-go/mock v0.3.0

latest releases: v0.6.0, bazel_rule_v0.2.0, bazel_rule_v0.1.0...
2 years ago

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.

Don't miss a new mock release

NewReleases is sending notifications on new releases.