1
0
mirror of https://github.com/golang/go synced 2024-11-18 13:04:46 -07:00
go/refactor/eg
Rhys Hiltner c060f04f93 refactor/eg: remove vendor prefix from imported packages
For package paths that include a "vendor" segment, use only the
portion of the path that comes after the final "vendor" segment, as
is done by the imports package.

Fixes golang/go#17247

Change-Id: Ic83c4662cfddd1a696c206494b3a869e8c7dff5c
Reviewed-on: https://go-review.googlesource.com/29851
Reviewed-by: Alan Donovan <adonovan@google.com>
2016-11-28 19:57:48 +00:00
..
testdata refactor/eg: fix crash while unifying wildcard with KeyValueExpr, which has no type 2015-05-29 16:42:57 +00:00
eg_test.go tools: switch to standard go/types at tip 2016-01-06 22:15:26 +00:00
eg.go refactor/...: remove go1.8-tagged files 2016-11-04 21:29:48 +00:00
match.go refactor/...: remove go1.8-tagged files 2016-11-04 21:29:48 +00:00
rewrite_test.go refactor/eg: remove vendor prefix from imported packages 2016-11-28 19:57:48 +00:00
rewrite.go refactor/eg: remove vendor prefix from imported packages 2016-11-28 19:57:48 +00:00