Make it so that import prefixes specified using the -local flag are considered a match for an import path if the prefix ends with a '/' and the import path matches exactly the prefix without a slash. For example, specifying "golang.org/x/tools/" as a prefix would match the import for the package "golang.org/x/tools". Fixes golang/go#24368 Change-Id: I0302db72fda63ad24d7b964aa73f78aa0ebccb37 Reviewed-on: https://go-review.googlesource.com/100460 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> |
||
|---|---|---|
| .. | ||
| fastwalk.go | ||
| fastwalk_dirent_fileno.go | ||
| fastwalk_dirent_ino.go | ||
| fastwalk_portable.go | ||
| fastwalk_test.go | ||
| fastwalk_unix.go | ||
| fix.go | ||
| fix_test.go | ||
| imports.go | ||
| mkindex.go | ||
| mkstdlib.go | ||
| sortimports.go | ||
| zstdlib.go | ||