1
0
mirror of https://github.com/golang/go synced 2024-11-20 09:14:46 -07:00

cmd/go: drop PackageInternal.Pkgdir (unused)

Change-Id: Iab8f0d201780bd571541a6806f071e883a553d35
Reviewed-on: https://go-review.googlesource.com/56286
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dave Cheney <dave@cheney.net>
This commit is contained in:
Russ Cox 2017-07-17 12:16:42 -04:00
parent 8644463bb2
commit 3cdf6100f1

View File

@ -93,7 +93,6 @@ type PackagePublic struct {
type PackageInternal struct {
// Unexported fields are not part of the public API.
Build *build.Package
Pkgdir string // overrides build.PkgDir
Imports []*Package // this package's direct imports
Target string // installed file for this package (may be executable)
Pkgfile string // where package will be (or is already) built or installed