1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:04:44 -07:00
go/imports
Heschi Kreinick 19e2aca3fd internal/gopathwalk: create
Extract goimports' logic for walking Go source directories into a
separate package, suitable for use in go/packages. No functional
changes. Added a convenience feature to fastwalk, allowing the user to
say that they're done with a directory and stop receiving callbacks for
it.

Testing is a little light; I expect goimports' tests to cover most
everything we care about.

Change-Id: If047ada4414f5f282637d11fd07e8342fadc9c33
Reviewed-on: https://go-review.googlesource.com/c/138877
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-10-12 18:13:39 +00:00
..
fix_test.go internal/gopathwalk: create 2018-10-12 18:13:39 +00:00
fix.go internal/gopathwalk: create 2018-10-12 18:13:39 +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 imports: support repairing import grouping/ordering 2018-10-12 15:41:53 +00:00
zstdlib.go imports: update zstdlib to Go 1.11 2018-09-10 04:49:24 +00:00