Hi HN,<p>The primary goal (lock-free mocks for Go) is right there in the title but after converting lots of code, I've found the biggest payoff has been from generating more accurate code. Gomock's recorder uses a lot of `interface{}` functions. Moqueries always uses the actual type from the interface or function type.<p>I've documented the internal structures used by the generated code here:
<a href="https://github.com/myshkin5/moqueries/tree/main/docs/anatomy#anatomy-of-a-lock-free-mock" rel="nofollow">https://github.com/myshkin5/moqueries/tree/main/docs/anatomy...</a><p>Let me know what you think.<p>Thanks!
Dwayne