-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
re-order the import package #987
Conversation
Can one of the admins verify this patch? |
Thanks for the PR. Did you do this manually or via a tool like |
I read the code, and modify the import packages manually at the same time. The tool |
Why do you feel strongly about this package order? What different order does |
This order make the packages imported very clear, the tool It is truly that there is no any tool to support this, and I do not very strongly feel this patch is very necessary, but kubernetes uses this kind of order. |
OK that makes sense. Going to have to keep a close eye on import order in future. Thanks! |
ok to test |
Merging as the integration testing environment is broken, but this change only affects import order & unit tests pass. |
re-order the import package
Thanks @carmark. |
Thanks @jimmidyson. I will also try to keep a close eye on the new import packages. |
Make sure the import package in each file as the follow order:
golang
self packagecadvisor
package