r-hang
r-hang
Hey @sysulq, From my experience, it's unusual to use a code generator as a library. In your program, could you shell out to mockgen to produce your mocks?
Hey @sysulq I spent some time thinking about this PR. From what i've seen, code generators don't generally take library form because the authors don't intend code generators to be...
I believe this is a duplicate of https://github.com/uber-go/mock/issues/97
I believe that we should support a `nil` input but rework the logic of the nopTestHelper to have an actual nop implementation instead of something that would panic.
If I understand your issue correctly, this proposal turns a current no-op operation into a panic, which may break lots of existing tests that rely on this no-op behavior. One...
CI is failing since there is another call to GenerateMockInterface that should be modified. The generated code should also be updated with these new assertions. If a user updates an...
Adding this comment to clarify the issue after taking a look: Today, Do() and DoReturn() expect the function provided to it to match the signature of the underlying Call object...
Hey @Akhilesh53, Would you be able to provide a reproducible example that we can run and debug locally?
Hey @zlx2019, could you clarify what you mean by project root and how it could be calculated by zap? Is the benefit of this suggestion to help with IDE integration?
How do we know what the project root is? Is that based on the the IDE? If that's the case, I don't believe it's best to encode IDE specific details...