mirror of
https://github.com/golang/go
synced 2024-11-19 00:24:41 -07:00
4d5ea46c79
In addition to adding a `go mod vendor` command option, which can be exposed via an editor client frontend, we show a suggestion to users who experience the "inconsistent vendoring" error message. The main change made here is that we save the view initialization error, and we return it if the view has absolutely no metadata. This seems reasonable enough, but my fear is that it may lead to us showing outdated error messages. I will spend some time improving the handling of initialization errors in follow-up CLs. Updates golang/go#39100 Change-Id: Iba21fb3fbfa4bca956fdf63736b397c47fc7ae44 Reviewed-on: https://go-review.googlesource.com/c/tools/+/235619 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
---|---|---|
.. | ||
cgo_test.go | ||
codelens_test.go | ||
definition_test.go | ||
diagnostics_test.go | ||
doc.go | ||
env_test.go | ||
env.go | ||
formatting_test.go | ||
generate_test.go | ||
imports_test.go | ||
reg_test.go | ||
runner.go | ||
serialization_test.go | ||
shared_test.go | ||
symbol_helper_test.go | ||
symbol_test.go | ||
unix_test.go | ||
vendor_test.go | ||
wrappers.go |