diff options
| author | Jay Conrod <jayconrod@google.com> | 2020-12-22 16:57:46 -0500 |
|---|---|---|
| committer | Jay Conrod <jayconrod@google.com> | 2020-12-22 23:39:46 +0000 |
| commit | 223331fc0cf5b23fbb9999eb1164b23695ef612a (patch) | |
| tree | 430af57c24c25f15891e6e222bf9fe4f35006764 /src/runtime/sigqueue.go | |
| parent | c9fb4eb0a22131cc9922fa96afba01d4e21d4fd4 (diff) | |
| download | go-223331fc0cf5b23fbb9999eb1164b23695ef612a.tar.xz | |
cmd/go/internal/modload: add hint for missing implicit dependency
By default (and with -mod=readonly), the go command imports an error
if a package provided by an implicitly required module is
imported by a package in the main module. This import requires an
update to go.mod: the module must be required explicitly.
The package loader now provides a hint that 'go get' should be run on
the importing package. This is preferred to 'go get' on the imported
package, since that would add an "// indirect" requirement.
For #43131
Change-Id: I0b353ce8ac8c4ddf1a9863544dfaf6c1964daf42
Reviewed-on: https://go-review.googlesource.com/c/go/+/279528
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/runtime/sigqueue.go')
0 files changed, 0 insertions, 0 deletions
