-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestions for Duplicate Interface Names #96
Comments
Thanks to a coworker, just found this option on
Should be sufficient enough for what I am trying to do. :) Might be useful to have an example of this as well in the README. |
@jpopadak Glad you found the way to solve it. In general, I avoided documenting CLI options that are more or less obvious from the CLI help to avoid repeating the description. For such options, the README specifically says:
If you feel like this is still worth being documented explicitly, I'd be happy to merge a PR ;-). |
Do you have any suggestions for duplicate interface names?
For example, I have this type:
Both
first.Client
andsecond.Client
are named the same.As a result, when I try to create the mocks, I get two files, both with
NewMockClient()
in them. Is there anyway I can specify a way to override the function name? LikeNewMockFirstClient()
andNewMockSecondClient()
?I can change the package, but then I get issues with Go (and Linters) complaining there is more than one package in the same folder.
The text was updated successfully, but these errors were encountered: