mirror of https://github.com/golang/go.git
parent
92885ce610
commit
c664b5332e
|
|
@ -669,7 +669,7 @@ func LoadPackage(ctx context.Context, opts PackageOpts, path, srcDir string, stk
|
|||
// with ./ or ../). A local relative path is interpreted relative to srcDir.
|
||||
// It returns a *Package describing the package found in that directory.
|
||||
// loadImport does not set tool flags and should only be used by
|
||||
// this package, as part of a bigger load operation, and by GOPATH-based "go get".
|
||||
// this package, as part of a bigger load operation.
|
||||
// The returned PackageError, if any, describes why parent is not allowed
|
||||
// to import the named package, with the error referring to importPos.
|
||||
// The PackageError can only be non-nil when parent is not nil.
|
||||
|
|
|
|||
Loading…
Reference in New Issue