Skip to content

goimportssort support #4283

Closed
Closed
@capricornusx

Description

@capricornusx

Your feature request related to a problem? Please describe.

Goimports will not categorize your imports when wrongly formatted. PRs to add in the functionality were denied .

https://github.com/AanZee/goimportssort

Describe the solution you'd like.

Please add goimportssort to our project.

Describe alternatives you've considered.

Manual install :)

Additional context.

  • Automatically split your imports in three categories: inbuilt, external and local.
  • Written fully in Golang, no dependencies, works on any platform.
  • Detects Go module name automatically.
  • Orders your imports alphabetically.
  • Removes additional line breaks.
  • No more manually fixing import orders.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existslinter: newSupport new linter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions