1
0
mirror of https://github.com/golang/go synced 2024-11-05 15:06:09 -07:00
go/imports
Brad Fitzpatrick ffe4e61c64 imports: add configuration mechanism to exclude directories
Each $GOPATH entry may have a file $GOPATH/src/.goimportsignore which
may contain blank lines, #comment lines, or lines naming a directory
relative to the configuration file to ignore when scanning.  No
globbing or regex patterns are allowed.

Updates golang/go#16367 (goimports speed)
Fixes golang/go#16386 (add mechanism to ignore directories)

Change-Id: I8f1a88ae6c4d0ed3075444d70aec3e2228c5ce6a
Reviewed-on: https://go-review.googlesource.com/24971
Reviewed-by: Rob Pike <r@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-07-15 19:48:34 +00:00
..
fix_test.go imports: add configuration mechanism to exclude directories 2016-07-15 19:48:34 +00:00
fix.go imports: add configuration mechanism to exclude directories 2016-07-15 19:48:34 +00:00
imports.go imports: add go:generate directive for generating zstdlib.go 2016-04-29 02:56:15 +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: add unsafe symbols to zstdlib 2016-06-24 22:29:30 +00:00
sortimports.go imports: Remove ancient Go 1.1 compatibility indirections. 2015-12-14 00:47:31 +00:00
zstdlib.go imports: add unsafe symbols to zstdlib 2016-06-24 22:29:30 +00:00