mirror of
https://github.com/golang/go
synced 2024-11-05 16:26:11 -07:00
cbb3c69a37
Some modules may need to be added to the go.mod without being associated with an import statement. In such cases, we show the missing module diagnostic on the whole go.mod file. This isn't ideal, but mapping to the full require statement isn't that simple, and this is an easy enough starting point. The code in mod_tidy.go is becoming more unwieldy - I think I will clean it up in a follow-up. Fixes golang/go#39784 Change-Id: Ib32ec1fd74c455ce42ba778ea6cba0a475cf245a Reviewed-on: https://go-review.googlesource.com/c/tools/+/243218 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> |
||
---|---|---|
.. | ||
modules/example.com/extramodule/pkg | ||
primarymod | ||
summary.txt.golden |