Skip to content

astutil.DeleteNamedImport could replace most of the de-duplication code #3

@nishanths

Description

@nishanths

Package astutil has a DeleteNamedImport function, which looks like it could be used to replace most of the de-duplication code in this command.

https://godoc.org/golang.org/x/tools/go/ast/astutil#DeleteNamedImport

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions