1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:44:42 -07:00
go/internal/lsp/protocol
Peter Weinberger bc9f4f258a x/tools/gopls: fix race condition in logging
The existing code uses maps to associate requests with responses. This
change adds locking to avoid simultaneous and illegal reads and writes.

Change-Id: I7bfb21cad6b37ac25e4f6946cb660d82f23c2b80
Reviewed-on: https://go-review.googlesource.com/c/tools/+/193058
Run-TryBot: Peter Weinberger <pjw@google.com>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-09-06 11:54:28 +00:00
..
typescript internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
context.go internal/telemetry: add the ability to flush telemetry data 2019-08-21 16:29:56 +00:00
doc.go internal/lsp: the core lsp protocol 2018-09-25 15:17:08 +00:00
enums.go internal/lsp: fix watched file protocol constants 2019-07-31 19:43:47 +00:00
log.go x/tools/gopls: fix race condition in logging 2019-09-06 11:54:28 +00:00
protocol.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
span.go internal/lsp: use protocol.Range for diagnostics instead of span.Span 2019-08-16 17:06:24 +00:00
tsclient.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
tsprotocol.go internal/lsp: initialize CodeActionProvider with supported actions 2019-08-28 21:14:09 +00:00
tsserver.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00