We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Counterfeiter doesn't find foreign interfaces from other packages inside of interfaces. See elgohr@7e4c853
The text was updated successfully, but these errors were encountered:
Short update.
I spend a little time on debugging and trying to detect the source of evil. Actually the locator adds the wrong alias to the importSpec.
locator.go (line 224 - line 228)
if importSpec.Name == nil { alias = path.Base(strings.Trim(importSpec.Path.Value, `"`)) } else { alias = importSpec.Name.Name }
The importSpec.Name is nil, so aliased_package is added as the alias, instead of the_aliased_package.
Sorry, something went wrong.
d8c3326
No branches or pull requests
Counterfeiter doesn't find foreign interfaces from other packages inside of interfaces.
See elgohr@7e4c853
The text was updated successfully, but these errors were encountered: