github golang/mock v1.5.0

latest releases: v1.7.0-rc.1, v1.6.0
3 years ago

Changelog

0b87a54 Add a period to the end of comments (#414)
d2fe5cd Add example for Call.Do and Call.DoAndReturn (#470)
91d4b5c Add tests for various Do/DoAndReturn calls (#430)
92f53b0 Avoid using packages.Load (#420)
aff3767 Fix empty error message when call is exhausted (#460)
8734ec5 Format generated files with goimports (#458)
69e02d3 MOCK-429: add support for assignable types to Eq matcher (#481)
d476d65 Parse parenthesized parameter-type. (#421)
ccaa079 Using pacakges.NeedName (#418)
f67ce0c add CODEOWNERS file (#522)
6d816de add default calling of ctrl.Finish() in go1.14+ (#422)
7b53c4d check error for os.Setenv in parse_test.go (#472)
b9a8584 deduplicate methods to allow overlapping methods on embedded interfaces (#498)
10192bd fix 1.11 ga test failure (#511)
dcd893e fix Test_createPackageMap for 1.15 (#512)
44e6f1e fix docs for AssignableToTypeOf (#452)
a23c5e7 fix issues related to source package imports (#507)
11d9cab fix readme docs on removing Finish calls (#461)
0f6dc21 format variadic arguments with GotFormatter (#434)
d9ac678 gomock/controller: use skip additional frame (#443)
8a3d595 mockgen: handle more cases of "duplicate" imports (#405)
9cb0a11 remove rsc.io/quote/v3 as dep (#465)
872e315 remove travis config (#513)
1fe605d sort methods on the mock implementation alphabetically (#500)
5b2ea10 support embedded error interface in source mode (#445)
b76a85f support multi-path gopath (#435)
eb4f989 surface panic when calling Finish is implicit (#478)
000792a test out GH actions (#508)
99aa927 update readme spacing (#495)

Don't miss a new mock release

NewReleases is sending notifications on new releases.