-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
x/tools/cmd/goimports: adds redundant aliases #30051
Comments
@speedyhoon - aside from any potential bug with Because |
This is working as intended. |
Sorry to jump in on a closed issue, but how/why does this improve performance? We have a ton of packages in kubernetes that use |
What version of Go are you using?
go1.11.1 windows/amd64 (Windows 10)
Does this issue reproduce with the latest release?
Yes
What did you do?
run goimports in the current directory.
goimports .
What did you expect to see?
What did you see instead?
I named this package "v8", abbreviated from "validation". (okay the name might be a little short)
The package name seems to be colliding with assumptions around goimports matching a versioning pattern like:
^v[0-9]+$
However the alias in this case is redundant because it matches the package name exactly.
The text was updated successfully, but these errors were encountered: