go/internal
Rebecca Stambler 3c1b287bbd internal/lsp: await the initial workspace load in ModHandle
ModHandle races with the initial workspace load if the go.mod file does
not yet exist. We should await for the initial workspace load to
complete before proceeding with update codelenses, etc.

Part of trying to figure out the flakes in golang/go#39504.
Also a few staticcheck fixes, and fix the Windows line endings in
fill_struct.go, because `git gofmt` complains.

Change-Id: Ide21a47137390792d1afb924740cff0bb6f0b764
Reviewed-on: https://go-review.googlesource.com/c/tools/+/237419
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2020-06-12 18:21:55 +00:00
..
analysisinternal
apidiff
event
fakenet
fastwalk
gocommand
gopathwalk
imports
jsonrpc2 internal/jsonrpc2: try to suppress unnecessary errors on shutdown 2020-06-11 19:17:06 +00:00
lsp internal/lsp: await the initial workspace load in ModHandle 2020-06-12 18:21:55 +00:00
memoize
packagesinternal
proxydir
span
stack
testenv
tool
typesinternal
xcontext