Skip to content

x/tools/cmd/goimports,gopls: avoid deprecated symbols and/or packages #70736

@findleyr

Description

@findleyr

Skimming the codebase, it look like we don't consider API deprecation in goimports. That is surprising.

We should avoid deprecated symbols and packages as import candidates.

Edit: context is #70717, where a user imported x/exp/maps by accident. (Though, will note that x/exp/maps is not currently deprecated).

CC @pjweinb

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions