Skip to content

Inaccurate goimports description #2108

Closed
@gqgs

Description

@gqgs

your feature request related to a problem? Please describe.

"Goimports does everything that gofmt does. Additionally it checks unused imports",

This statement implies goimports is a drop-in replacement for gofmt.
This is misleading since goimports doesn't have an option to simplify code the way gofmt does.

Describe the solution you'd like.

A description that doesn't imply goimports is a drop-in replacement for gofmt.

Describe alternatives you've considered.

N/A.

Additional context

golang/go#21476
golang/tools@7d47e84

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions