mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
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>