Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 45c7aee

Browse files
committed
go/packages: remove unused type
Since CL 289309 jsonPackageError is not used. Change-Id: I05a1cb82e3d5ac343fd34336a195b27219b51364 Reviewed-on: https://go-review.googlesource.com/c/tools/+/702540 Reviewed-by: Robert Findley <[email protected]> Reviewed-by: Alan Donovan <[email protected]> Auto-Submit: Robert Findley <[email protected]> Auto-Submit: Alan Donovan <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 1ef8f44 commit 45c7aee

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

go/packages/golist.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -364,12 +364,6 @@ type jsonPackage struct {
364364
DepsErrors []*packagesinternal.PackageError
365365
}
366366

367-
type jsonPackageError struct {
368-
ImportStack []string
369-
Pos string
370-
Err string
371-
}
372-
373367
func otherFiles(p *jsonPackage) [][]string {
374368
return [][]string{p.CFiles, p.CXXFiles, p.MFiles, p.HFiles, p.FFiles, p.SFiles, p.SwigFiles, p.SwigCXXFiles, p.SysoFiles}
375369
}

0 commit comments

Comments
 (0)