Peter Götz
Peter Götz
Hi @fatekiller, thanks for reporting this issue. Could you please provide some example code and the actual output you're getting when running your test, and what you would expect instead?
Hey @fatekiller, would you be able to reproduce the problem with a simplified version of your code that you _can_ actually share (rename variables, remove unneeded logic etc.)? Otherwise this...
Glad you could solve it. Is there anything we can improve in the library or in the documentation, so you could have solved your issue more quickly?
When you refer to multiple threads, do you mean calling `When` from different goroutines? That's indeed something one shouldn't be doing and you're right, this is not documented. Note that...
There is issue https://github.com/petergtz/pegomock/issues/44 to track vendor packages. In fact, I have just completed a first shot at this and will push it soon. I'd be happy to see if...
The problem with gomock is that it has been unmaintained for years. In any case, I just removed that blocker in pegomock. See #44 for more details.
Hi @alexlingww, I think your suggestion for overriding makes sense. In fact, I thought the current behavior is that the last stubbing call overrides any previous ones, just like it...
Hi @yhrn, thanks for taking the time to open this issue. Let's look at the points one by one: 1. Sounds like a reasonable suggestion. The right place to add...
Hey @yhrn, sorry for the delay. Thanks a lot for the example for (2). Yes, that makes it a lot easier to understand, and yes, I think that's a good...
BTW, there is now already an issue for the variadic arguments here: https://github.com/petergtz/pegomock/issues/112 I believe this is the same as yours. So no need to open. A separate issue for...