mirror of
https://github.com/golang/go
synced 2024-11-18 23:54:41 -07:00
a1c1cf19ba
goimports to use the package name as a local qualifier in an import. For example, if findImports("pkg", "X") returns ("foo/bar", rename=true), then goimports adds the import line: import pkg "foo/bar" to satisfy uses of pkg.X in the file. This change doesn't add any implementations of rename=true, though one is sketched in a TODO. LGTM=crawshaw R=crawshaw, rsc CC=bradfitz, golang-codereviews https://golang.org/cl/76400050 |
||
---|---|---|
.. | ||
fix_test.go | ||
fix.go | ||
imports.go | ||
mkindex.go | ||
mkstdlib.go | ||
sortimports_compat.go | ||
sortimports.go | ||
zstdlib.go |