1
0
mirror of https://github.com/golang/go synced 2024-11-05 15:06:09 -07:00
go/internal/jsonrpc2
Ian Cottrell 7504fd2219 internal/lsp: fix broken lsp logs
ID's are now by value not pointer, which caused it to not use the Format
method, resulting in broken id strings
The id maps need to be crossover (set and get go to different maps for a given direction of message)

Change-Id: Ide2b63ec1b009ae3587ee10e8bce018732ea342c
Reviewed-on: https://go-review.googlesource.com/c/tools/+/229244
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Peter Weinberger <pjw@google.com>
2020-04-21 17:00:05 +00:00
..
servertest internal/jsonrpc2: add concrete types for Call, Notify and Response 2020-04-20 21:05:32 +00:00
handler.go internal/jsonrpc2: add concrete types for Call, Notify and Response 2020-04-20 21:05:32 +00:00
jsonrpc2_test.go internal/jsonrpc2: add concrete types for Call, Notify and Response 2020-04-20 21:05:32 +00:00
jsonrpc2.go internal/jsonrpc2: rewrite streams in terms of messages 2020-04-21 13:42:58 +00:00
messages.go internal/jsonrpc2: add concrete types for Call, Notify and Response 2020-04-20 21:05:32 +00:00
serve_test.go internal/lsp: improve ID formatting 2020-04-10 13:25:36 +00:00
serve.go internal/jsonrpc2: clean up the tests 2020-04-20 21:05:12 +00:00
stream.go internal/jsonrpc2: rewrite streams in terms of messages 2020-04-21 13:42:58 +00:00
wire_test.go internal/lsp: fix broken lsp logs 2020-04-21 17:00:05 +00:00
wire.go internal/lsp: fix broken lsp logs 2020-04-21 17:00:05 +00:00