commit | e07cddbfd2ca5e14a07822ad03b52ff07e53a8dc | [log] [tgz] |
---|---|---|
author | Keith Randall <khr@google.com> | Tue Feb 06 13:00:33 2018 -0800 |
committer | Keith Randall <khr@golang.org> | Mon Feb 26 23:11:46 2018 +0000 |
tree | 25c0d68b0a5c350e3b8360e89bc8449b1d1113b7 | |
parent | d4ba164ac75a565a3d08ec75bc5078a87af3385b [diff] |
gocore: fix removal of package paths They aren't always prefixes. For instance, map[string]foo/bar. Do a better job by removing word/ everywhere it appears in a type. Change-Id: I22d8e00f9eef225dd143cad1db3aa0eeb901ad10 Reviewed-on: https://go-review.googlesource.com/92416 Run-TryBot: Keith Randall <khr@golang.org> Reviewed-by: Peter Weinberger <pjw@google.com>