刘晨飞
刘晨飞
thanks for your reply, I can not share the real code, but the output is, I tried recreate this error, but failed.... ``` panic: Different number of return values [recovered]...
when I use `pegomock generate XXInterface --output-dir=mock` to generate mock file, I always got `panic: Loading input failed: extra data in buffer`, so I used `pegomock generate XXInterface --use-experimental-model-gen -m...
It was caused by multi go routine, the code use a global variable `lastInvocation` to judge whether the return values of last invocation have same length of the given params...
thanks for you help, I have already solved this problem.
It would be better if you told users that this tool is not thread safely in the manual