1
0
mirror of https://github.com/golang/go synced 2024-11-18 12:54:44 -07:00
go/imports
Nick Miyake c41d143952 imports: support match without trailing slash for -local flag
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>
2018-03-15 06:52:34 +00:00
..
fastwalk_dirent_fileno.go cmd/goimports, imports: optimize directory scanning and other things 2016-07-19 03:21:45 +00:00
fastwalk_dirent_ino.go imports: fix +build tags to exclude syscall deps on appengine 2017-09-01 21:04:08 +00:00
fastwalk_portable.go imports: don't use fastpath on appengine (syscall not available) 2016-08-15 22:01:42 +00:00
fastwalk_test.go imports: fix formatting directive error found by go vet 2017-02-12 17:59:58 +00:00
fastwalk_unix.go imports: show detailed error when directory cannot be opened 2018-02-27 18:22:17 +00:00
fastwalk.go imports: wait for fastWalk workers to finish before returning (take 2) 2017-04-25 17:30:35 +00:00
fix_test.go imports: support match without trailing slash for -local flag 2018-03-15 06:52:34 +00:00
fix.go imports: support match without trailing slash for -local flag 2018-03-15 06:52:34 +00:00
imports.go imports: fix mangled comments after package clause insertion 2018-02-14 03:58:58 +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.10 2018-02-10 03:09:51 +00:00
sortimports.go imports: Remove ancient Go 1.1 compatibility indirections. 2015-12-14 00:47:31 +00:00
zstdlib.go imports: update zstdlib to Go 1.10 2018-02-10 03:09:51 +00:00