From c664b5332e4f0afc84ae9bf1f91c0664903ebb7e Mon Sep 17 00:00:00 2001 From: qiulaidongfeng <2645477756@qq.com> Date: Fri, 17 May 2024 06:10:20 +0800 Subject: [PATCH] n Change-Id: I6ad9a51ab617f8e7b741f2ac6af4c31f152fc7a8 --- src/cmd/go/internal/load/pkg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/go/internal/load/pkg.go b/src/cmd/go/internal/load/pkg.go index 8c4c9f2b1b..92b1ea8d67 100644 --- a/src/cmd/go/internal/load/pkg.go +++ b/src/cmd/go/internal/load/pkg.go @@ -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.