Type.String prints named types using the complete package path: "dir/pkg.T" The notation used by canonicalMethod, and the cmd/vet/all whitelist, and the one users want to see, uses only the package name: "pkg.T". Change-Id: If2334a8cca1fb80e947cb105530b946a5a8dec7b Reviewed-on: https://go-review.googlesource.com/c/149597 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Michael Matloob <matloob@golang.org> |
||
|---|---|---|
| .. | ||
| testdata/src/a | ||
| stdmethods.go | ||
| stdmethods_test.go | ||