Skip to content

Instantly share code, notes, and snippets.

@stamblerre
stamblerre / go list output
Last active June 29, 2021 19:35
golang.org/issue/46061
rstambler /private/tmp/testy $ go list -e -test -json github.com/pingcap/tidb-operator/pkg/discovery/server{
"Dir": "/Users/rstambler/code/src/github.com/pingcap/tidb-operator/pkg/discovery/server",
"ImportPath": "github.com/pingcap/tidb-operator/pkg/discovery/server",
"Name": "server",
"Target": "/Users/rstambler/code/pkg/darwin_amd64/github.com/pingcap/tidb-operator/pkg/discovery/server.a",
"Root": "/Users/rstambler/code",
"Module": {
"Path": "github.com/pingcap/tidb-operator",
"Version": "v1.9999999.0-goplsworkspace",
"Replace": {
@stamblerre
stamblerre / gist:38f1589eec5c8a5758301835b125f7e3
Last active October 9, 2020 16:05
gopls unimported completion
This file has been truncated, but you can view the full file.
[Trace - 12:04:15.271 PM] Sending request 'initialize - (0)'.
Params: {"processId":76561,"clientInfo":{"name":"vscode","version":"1.50.0-insider"},"rootPath":"/Users/rstambler/code/src/golang.org/x/tools","rootUri":"file:///Users/rstambler/code/src/golang.org/x/tools","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional"},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"tagSupport":{"valueSet":[1]}},"executeCommand":{"dynamicRegistration":true},"configuration":true,"workspaceFolders":true},"textDocument":{"publishDiagnostics":{"relatedInformation":true,"versionSupport":false,"tagSupport":{"valueSet":[1,2]},"complexDiagnosticCodeSupport":true},"synchronization":{"dynamicRegistration":true,"willSave"