1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:24:42 -07:00
go/imports
Heschi Kreinick a28dfb48e0 revert "imports: create named imports for name/path mismatches"
This reverts CL 145699 (commit 864069cfd1)

Reason for revert: If the mismatch is bad enough that goimports can't find
it again, then the import is just removed, even if the user adds it back again.

Fixes #28645.

Change-Id: I6c8fc5434c2b56c73b260bcec2c12d8746fac4ad
Reviewed-on: https://go-review.googlesource.com/c/148237
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-11-07 22:50:58 +00:00
..
fix_test.go revert "imports: create named imports for name/path mismatches" 2018-11-07 22:50:58 +00:00
fix.go revert "imports: create named imports for name/path mismatches" 2018-11-07 22:50:58 +00:00
imports.go imports: Process should accept nil src 2018-04-12 23:47:31 +00:00
mkindex.go go.tools/imports: move goimports from github to go.tools. 2013-12-17 21:21:03 -05:00
mkstdlib.go imports: update zstdlib to Go 1.11 2018-09-10 04:49:24 +00:00
sortimports.go Revert "imports: support repairing import grouping/ordering" 2018-10-24 17:12:08 +00:00
zstdlib.go imports: update zstdlib to Go 1.11 2018-09-10 04:49:24 +00:00