1
0
mirror of https://github.com/golang/go synced 2024-11-18 17:04:41 -07:00
go/imports
Heschi Kreinick 4c53570e04 imports: ignore globals in different packages
Some people put multiple packages' files in the same directory, most
commonly commands and code generators. Global variables from one package
should be ignored in other packages.

Change-Id: I9a5d27778570183dfe391dd3273dfa8277a29bf2
Reviewed-on: https://go-review.googlesource.com/c/153419
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-12-10 19:38:48 +00:00
..
fix_test.go imports: ignore globals in different packages 2018-12-10 19:38:48 +00:00
fix.go imports: ignore globals in different packages 2018-12-10 19:38:48 +00:00
imports.go imports: redesign fixImports 2018-12-03 18:26:12 +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: redesign fixImports 2018-12-03 18:26:12 +00:00
sortimports.go Revert "imports: support repairing import grouping/ordering" 2018-10-24 17:12:08 +00:00
zstdlib.go imports: redesign fixImports 2018-12-03 18:26:12 +00:00