mirror of
https://github.com/golang/go
synced 2024-09-30 22:38:33 -06:00
da4261a3d0
I've been using the inspect command to find data about the daemon and its various sessions while debugging gopls. In practice, however, I don't simply want to view the debug information: I want to script it. This change removes the custom output formatting in favor of indented JSON, so that we can do things like the following: tail -f $(gopls inspect sessions | gq -r .logfile) Which tails the daemon logs for the current gopls binary version. Change-Id: I8895644b1493862f027e6c4b06e32612a4f3927d Reviewed-on: https://go-review.googlesource.com/c/tools/+/233357 Run-TryBot: Robert Findley <rfindley@google.com> Reviewed-by: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
test | ||
capabilities_test.go | ||
check.go | ||
cmd_test.go | ||
cmd.go | ||
definition.go | ||
export_test.go | ||
folding_range.go | ||
format.go | ||
highlight.go | ||
implementation.go | ||
imports.go | ||
info.go | ||
inspect.go | ||
links.go | ||
prepare_rename.go | ||
references.go | ||
rename.go | ||
serve_test.go | ||
serve.go | ||
signature.go | ||
suggested_fix.go | ||
symbols.go | ||
workspace_symbol.go |