Skip to content
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

Import order as goimports does #1004

Merged
merged 1 commit into from
Dec 30, 2016
Merged

Conversation

vdemeester
Copy link
Contributor

@vdemeester vdemeester commented Dec 30, 2016

This re-order imports on all files according to goimports, i.e. built-in first, then the other ones, in order.

It's a little bit OCD, but also if we decide to use this as code style, it's like gofmt, something else where conflicts should happen less.

/cc @containous/traefik

🐸

Signed-off-by: Vincent Demeester [email protected]

Copy link
Contributor

@dtomcej dtomcej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has bothered me for a while. Glad to see you on it!

Signed-off-by: Vincent Demeester <[email protected]>
@vdemeester vdemeester merged commit 8a34842 into traefik:master Dec 30, 2016
@vdemeester vdemeester deleted the import-order branch December 30, 2016 18:04
@ldez ldez added this to the 1.2 milestone Oct 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants