Open ehsandavari opened 9 months ago
I believe this is a duplicate of https://github.com/uber-go/mock/issues/97
this bug fixed in #98 When will you merge this branch?
In the mean time, running mockgen in source mode is working pretty well for me.
I don't have time to continue my fix yet. Using source mode can help work around the issue since it runs on AST level.
in generic use pkg path in line of code like
bug is : wallet-core/domain/entity.BaseWalletTemplate in return of paginate func mock
I fix bug with use this
in my local clone project in path mockgen/mockgen.go in top of line 588 and test code with unit tests