Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Cleanup of imports #44

Closed
brianredbeard opened this issue Jul 20, 2016 · 0 comments
Closed

Cleanup of imports #44

brianredbeard opened this issue Jul 20, 2016 · 0 comments

Comments

@brianredbeard
Copy link
Member

At some point (just for readability) package imports should get cleaned up. An example of doing this well is at
https://github.com/coreos/mayday/blob/master/mayday.go

In that case, there are three basic groups of packages:

  • standard libraries
  • 'local' libraries
  • third party libraries

go fmt correctly handles this behavior and will sort them correctly in each area.

One example of where cleanup should occur is this:

https://github.com/coreos/mayday/blob/master/mayday/plugins/docker/docker.go

Extremely low priority. Mainly just here for tracking purposes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant