mirror of
https://github.com/golang/go
synced 2024-11-18 14:24:44 -07:00
a81e99d748
String matching is used to find diagnostics that could be fixed by organizing imports. Unused imports are of the form: "X imported but not used" "X imported but not used as Y" Check that "imported but not used" is contained in the message to include both named and unnamed imports. Change-Id: I478d1fb239962e706eb1adf305b858fcc875b7f0 Reviewed-on: https://go-review.googlesource.com/c/tools/+/188158 Run-TryBot: Suzy Mueller <suzmue@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
apidiff | ||
fastwalk | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
module | ||
semver | ||
span | ||
tool | ||
txtar | ||
xcontext |