Documentation
¶
Overview ¶
Package packagesinternal exposes internal-only fields from go/packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DepsErrors int // must be set as a LoadMode to call GetDepsErrors
View Source
var GetDepsErrors = func(p any) []*PackageError { return nil }
View Source
var TypecheckCgo int
Functions ¶
This section is empty.
Types ¶
type PackageError ¶ added in v0.1.1
type PackageError struct { ImportStack []string // shortest path from package named on command line to this one Pos string // position of error (if present, file:line:col) Err string // the error itself }
func (PackageError) String ¶ added in v0.35.0
func (err PackageError) String() string
Click to show internal directories.
Click to hide internal directories.