Advertisement
anthony-S93

gopls_debug.log

Jul 24th, 2023
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 52.89 KB | None | 0 0
  1. [DEBUG][2023-07-24 23:00:11] .../vim/lsp/rpc.lua:387 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "UnusedImport", codeDescription = { href = "https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UnusedImport" }, message = '"fmt" imported and not used', range = { ["end"] = { character = 12, line = 2 }, start = { character = 7, line = 2 } }, severity = 1, source = "compiler", tags = { 1 } } }, uri = "file:///home/anthony93/Dev/testing/test.go", version = 9 }}
  2. [DEBUG][2023-07-24 23:00:32] .../vim/lsp/rpc.lua:284 "rpc.send" { jsonrpc = "2.0", method = "textDocument/didChange", params = { contentChanges = { { range = { ["end"] = { character = 0, line = 5 }, start = { character = 13, line = 4 } }, rangeLength = 1, text = "\n\n" } }, textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go", version = 10 } }}
  3. [DEBUG][2023-07-24 23:00:32] .../vim/lsp/rpc.lua:284 "rpc.send" { jsonrpc = "2.0", method = "textDocument/didChange", params = { contentChanges = { { range = { ["end"] = { character = 0, line = 5 }, start = { character = 0, line = 5 } }, rangeLength = 0, text = " " } }, textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go", version = 11 } }}
  4. [DEBUG][2023-07-24 23:00:32] .../lua/vim/lsp.lua:1392 "LSP[gopls]" "client.request" 1 "textDocument/semanticTokens/full" { textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go" }} <function 1> 1
  5. [DEBUG][2023-07-24 23:00:32] .../vim/lsp/rpc.lua:284 "rpc.send" { id = 5, jsonrpc = "2.0", method = "textDocument/semanticTokens/full", params = { textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go" } }}
  6. [DEBUG][2023-07-24 23:00:32] .../vim/lsp/rpc.lua:387 "rpc.receive" { id = 5, jsonrpc = "2.0", result = { data = { 0, 0, 7, 15, 0, 0, 8, 4, 0, 0, 2, 0, 6, 15, 0, 0, 8, 3, 0, 0, 2, 0, 4, 15, 0, 0, 5, 4, 12, 2 }, resultId = "2023-07-24 23:00:32.460989414 +0800 +08 m=+26.017090775" }}
  7. [DEBUG][2023-07-24 23:00:33] .../vim/lsp/rpc.lua:284 "rpc.send" { jsonrpc = "2.0", method = "textDocument/didChange", params = { contentChanges = { { range = { ["end"] = { character = 4, line = 5 }, start = { character = 4, line = 5 } }, rangeLength = 0, text = "f" } }, textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go", version = 12 } }}
  8. [DEBUG][2023-07-24 23:00:33] .../lua/vim/lsp.lua:1392 "LSP[gopls]" "client.request" 1 "textDocument/completion" { context = { triggerKind = 1 }, position = { character = 5, line = 5 }, textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go" }} <function 1> 1
  9. [DEBUG][2023-07-24 23:00:33] .../vim/lsp/rpc.lua:284 "rpc.send" { id = 6, jsonrpc = "2.0", method = "textDocument/completion", params = { context = { triggerKind = 1 }, position = { character = 5, line = 5 }, textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go" } }}
  10. [DEBUG][2023-07-24 23:00:33] .../vim/lsp/rpc.lua:387 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "UnusedImport", codeDescription = { href = "https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UnusedImport" }, message = '"fmt" imported and not used', range = { ["end"] = { character = 12, line = 2 }, start = { character = 7, line = 2 } }, severity = 1, source = "compiler", tags = { 1 } }, { code = "UndeclaredName", codeDescription = { href = "https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName" }, message = "undefined: f", range = { ["end"] = { character = 5, line = 5 }, start = { character = 4, line = 5 } }, severity = 1, source = "compiler" } }, uri = "file:///home/anthony93/Dev/testing/test.go", version = 12 }}
  11. [DEBUG][2023-07-24 23:00:33] .../vim/lsp/rpc.lua:387 "rpc.receive" { id = 6, jsonrpc = "2.0", result = { isIncomplete = true, items = { { detail = '"fmt"', documentation = { kind = "markdown", value = "" }, filterText = "fmt", insertTextFormat = 2, kind = 9, label = "fmt", preselect = true, sortText = "00000", textEdit = { newText = "fmt", range = { ["end"] = { character = 5, line = 5 }, start = { character = 4, line = 5 } } } }, { documentation = { kind = "markdown", value = "" }, filterText = "for", insertTextFormat = 2, kind = 14, label = "for", sortText = "00001", textEdit = { newText = "for", range = { ["end"] = { character = 5, line = 5 }, start = { character = 4, line = 5 } } } }, { documentation = { kind = "markdown", value = "" }, filterText = "false", insertTextFormat = 2, kind = 21, label = "false", sortText = "00002", textEdit = { newText = "false", range = { ["end"] = { character = 5, line = 5 }, start = { character = 4, line = 5 } } } }, { documentation = { kind = "markdown", value = "" }, filterText = "float32", insertTextFormat = 2, kind = 7, label = "float32", sortText = "00003", textEdit = { newText = "float32", range = { ["end"] = { character = 5, line = 5 }, start = { character = 4, line = 5 } } } }, { documentation = { kind = "markdown", value = "" }, filterText = "float64", insertTextFormat = 2, kind = 7, label = "float64", sortText = "00004", textEdit = { newText = "float64", range = { ["end"] = { character = 5, line = 5 }, start = { character = 4, line = 5 } } } }, { additionalTextEdits = { { newText = "(\n\t", range = { ["end"] = { character = 7, line = 2 }, start = { character = 7, line = 2 } } }, { newText = '\t"path/filepath"\n)\n', range = { ["end"] = { character = 0, line = 3 }, start = { character = 0, line = 3 } } } }, detail = '"path/filepath"', documentation = { kind = "markdown", value = "" }, filterText = "filepath", insertTextFormat = 2, kind = 9, label = "filepath", sortText = "00005", textEdit = { newText = "filepath", range = { ["end"] = { character = 5, line = 5 }, start = { character = 4, line = 5 } } } }, { additionalTextEdits = { { newText = "(\n\t", range = { ["end"] = { character = 7, line = 2 }, start = { character = 7, line = 2 } } }, { newText = '\t"hash/fnv"\n)\n', range = { ["end"] = { character = 0, line = 3 }, start = { character = 0, line = 3 } } } }, detail = '"hash/fnv"', documentation = { kind = "markdown", value = "" }, filterText = "fnv", insertTextFormat = 2, kind = 9, label = "fnv", sortText = "00006", textEdit = { newText = "fnv", range = { ["end"] = { character = 5, line = 5 }, start = { character = 4, line = 5 } } } }, { additionalTextEdits = { { newText = "(\n\t", range = { ["end"] = { character = 7, line = 2 }, start = { character = 7, line = 2 } } }, { newText = '\t"io/fs"\n)\n', range = { ["end"] = { character = 0, line = 3 }, start = { character = 0, line = 3 } } } }, detail = '"io/fs"', documentation = { kind = "markdown", value = "" }, filterText = "fs", insertTextFormat = 2, kind = 9, label = "fs", sortText = "00007", textEdit = { newText = "fs", range = { ["end"] = { character = 5, line = 5 }, start = { character = 4, line = 5 } } } }, { additionalTextEdits = { { newText = "(\n\t", range = { ["end"] = { character = 7, line = 2 }, start = { character = 7, line = 2 } } }, { newText = '\t"testing/fstest"\n)\n', range = { ["end"] = { character = 0, line = 3 }, start = { character = 0, line = 3 } } } }, detail = '"testing/fstest"', documentation = { kind = "markdown", value = "" }, filterText = "fstest", insertTextFormat = 2, kind = 9, label = "fstest", sortText = "00008", textEdit = { newText = "fstest", range = { ["end"] = { character = 5, line = 5 }, start = { character = 4, line = 5 } } } }, { additionalTextEdits = { { newText = "(\n\t", range = { ["end"] = { character = 7, line = 2 }, start = { character = 7, line = 2 } } }, { newText = '\t"internal/fmtsort"\n)\n', range = { ["end"] = { character = 0, line = 3 }, start = { character = 0, line = 3 } } } }, detail = '"internal/fmtsort"', documentation = { kind = "markdown", value = "" }, filterText = "fmtsort", insertTextFormat = 2, kind = 9, label = "fmtsort", sortText = "00009", textEdit = { newText = "fmtsort", range = { ["end"] = { character = 5, line = 5 }, start = { character = 4, line = 5 } } } }, { detail = "func(b []byte, a ...any) []byte", documentation = { kind = "markdown", value = "Append formats using the default formats for its operands, appends the result to the byte slice, and returns the updated slice.\n" }, filterText = "fmt.Append", insertTextFormat = 2, kind = 3, label = "fmt.Append", sortText = "00010", textEdit = { newText = "fmt.Append(${1:})", range = { ["end"] = { character = 5, line = 5 }, start = { character = 4, line = 5 } } } }, { detail = "func(b []byte, format string, a ...any) []byte", documentation = { kind = "markdown", value = "Appendf formats according to a format specifier, appends the result to the byte slice, and returns the updated slice.\n" }, filterText = "fmt.Appendf", insertTextFormat = 2, kind = 3, label = "fmt.Appendf", sortText = "00011", textEdit = { newText = "fmt.Appendf(${1:})", range = { ["end"] = { character = 5, line = 5 }, start = { character = 4, line = 5 } } } }, { detail = "func(b []byte, a ...any) []byte", documentation = { kind = "markdown", value = "Appendln formats using the default formats for its operands, appends the result to the byte slice, and returns the updated slice. Spaces are always added between operands and a newline is appended.\n" }, filterText = "fmt.Appendln", insertTextFormat = 2, kind = 3, label = "fmt.Appendln", sortText = "00012", textEdit = { newText = "fmt.Appendln(${1:})", range = { ["end"] = { character = 5, line = 5 }, start = { character = 4, line = 5 } } } } } }}
  12. [DEBUG][2023-07-24 23:00:33] .../vim/lsp/rpc.lua:284 "rpc.send" { jsonrpc = "2.0", method = "textDocument/didChange", params = { contentChanges = { { range = { ["end"] = { character = 5, line = 5 }, start = { character = 5, line = 5 } }, rangeLength = 0, text = "m" } }, textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go", version = 13 } }}
  13. [DEBUG][2023-07-24 23:00:33] .../lua/vim/lsp.lua:1392 "LSP[gopls]" "client.request" 1 "textDocument/completion" { context = { triggerKind = 3 }, position = { character = 6, line = 5 }, textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go" }} <function 1> 1
  14. [DEBUG][2023-07-24 23:00:33] .../vim/lsp/rpc.lua:284 "rpc.send" { id = 7, jsonrpc = "2.0", method = "textDocument/completion", params = { context = { triggerKind = 3 }, position = { character = 6, line = 5 }, textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go" } }}
  15. [DEBUG][2023-07-24 23:00:33] .../vim/lsp/rpc.lua:387 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "UnusedImport", codeDescription = { href = "https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UnusedImport" }, message = '"fmt" imported and not used', range = { ["end"] = { character = 12, line = 2 }, start = { character = 7, line = 2 } }, severity = 1, source = "compiler", tags = { 1 } }, { code = "UndeclaredName", codeDescription = { href = "https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UndeclaredName" }, message = "undefined: fm", range = { ["end"] = { character = 6, line = 5 }, start = { character = 4, line = 5 } }, severity = 1, source = "compiler" } }, uri = "file:///home/anthony93/Dev/testing/test.go", version = 13 }}
  16. [DEBUG][2023-07-24 23:00:33] .../vim/lsp/rpc.lua:387 "rpc.receive" { id = 7, jsonrpc = "2.0", result = { isIncomplete = true, items = { { detail = '"fmt"', documentation = { kind = "markdown", value = "" }, filterText = "fmt", insertTextFormat = 2, kind = 9, label = "fmt", preselect = true, sortText = "00000", textEdit = { newText = "fmt", range = { ["end"] = { character = 6, line = 5 }, start = { character = 4, line = 5 } } } }, { additionalTextEdits = { { newText = "(\n\t", range = { ["end"] = { character = 7, line = 2 }, start = { character = 7, line = 2 } } }, { newText = '\t"internal/fmtsort"\n)\n', range = { ["end"] = { character = 0, line = 3 }, start = { character = 0, line = 3 } } } }, detail = '"internal/fmtsort"', documentation = { kind = "markdown", value = "" }, filterText = "fmtsort", insertTextFormat = 2, kind = 9, label = "fmtsort", sortText = "00001", textEdit = { newText = "fmtsort", range = { ["end"] = { character = 6, line = 5 }, start = { character = 4, line = 5 } } } }, { detail = "func(b []byte, a ...any) []byte", documentation = { kind = "markdown", value = "Append formats using the default formats for its operands, appends the result to the byte slice, and returns the updated slice.\n" }, filterText = "fmt.Append", insertTextFormat = 2, kind = 3, label = "fmt.Append", sortText = "00002", textEdit = { newText = "fmt.Append(${1:})", range = { ["end"] = { character = 6, line = 5 }, start = { character = 4, line = 5 } } } }, { detail = "func(b []byte, format string, a ...any) []byte", documentation = { kind = "markdown", value = "Appendf formats according to a format specifier, appends the result to the byte slice, and returns the updated slice.\n" }, filterText = "fmt.Appendf", insertTextFormat = 2, kind = 3, label = "fmt.Appendf", sortText = "00003", textEdit = { newText = "fmt.Appendf(${1:})", range = { ["end"] = { character = 6, line = 5 }, start = { character = 4, line = 5 } } } }, { detail = "func(b []byte, a ...any) []byte", documentation = { kind = "markdown", value = "Appendln formats using the default formats for its operands, appends the result to the byte slice, and returns the updated slice. Spaces are always added between operands and a newline is appended.\n" }, filterText = "fmt.Appendln", insertTextFormat = 2, kind = 3, label = "fmt.Appendln", sortText = "00004", textEdit = { newText = "fmt.Appendln(${1:})", range = { ["end"] = { character = 6, line = 5 }, start = { character = 4, line = 5 } } } } } }}
  17. [DEBUG][2023-07-24 23:00:33] .../lua/vim/lsp.lua:1392 "LSP[gopls]" "client.request" 1 "textDocument/semanticTokens/full" { textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go" }} <function 1> 1
  18. [DEBUG][2023-07-24 23:00:33] .../vim/lsp/rpc.lua:284 "rpc.send" { id = 8, jsonrpc = "2.0", method = "textDocument/semanticTokens/full", params = { textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go" } }}
  19. [DEBUG][2023-07-24 23:00:33] .../vim/lsp/rpc.lua:387 "rpc.receive" { id = 8, jsonrpc = "2.0", result = { data = { 0, 0, 7, 15, 0, 0, 8, 4, 0, 0, 2, 0, 6, 15, 0, 0, 8, 3, 0, 0, 2, 0, 4, 15, 0, 0, 5, 4, 12, 2, 1, 4, 2, 8, 0 }, resultId = "2023-07-24 23:00:33.665115261 +0800 +08 m=+27.221216621" }}
  20. [DEBUG][2023-07-24 23:00:33] .../vim/lsp/rpc.lua:284 "rpc.send" { jsonrpc = "2.0", method = "textDocument/didChange", params = { contentChanges = { { range = { ["end"] = { character = 6, line = 5 }, start = { character = 6, line = 5 } }, rangeLength = 0, text = "t" } }, textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go", version = 14 } }}
  21. [DEBUG][2023-07-24 23:00:33] .../lua/vim/lsp.lua:1392 "LSP[gopls]" "client.request" 1 "textDocument/completion" { context = { triggerKind = 3 }, position = { character = 7, line = 5 }, textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go" }} <function 1> 1
  22. [DEBUG][2023-07-24 23:00:33] .../vim/lsp/rpc.lua:284 "rpc.send" { id = 9, jsonrpc = "2.0", method = "textDocument/completion", params = { context = { triggerKind = 3 }, position = { character = 7, line = 5 }, textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go" } }}
  23. [DEBUG][2023-07-24 23:00:33] .../vim/lsp/rpc.lua:387 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { code = "UnusedImport", codeDescription = { href = "https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#UnusedImport" }, message = '"fmt" imported and not used', range = { ["end"] = { character = 12, line = 2 }, start = { character = 7, line = 2 } }, severity = 1, source = "compiler", tags = { 1 } }, { code = "InvalidPkgUse", codeDescription = { href = "https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#InvalidPkgUse" }, message = "use of package fmt not in selector", range = { ["end"] = { character = 7, line = 5 }, start = { character = 4, line = 5 } }, severity = 1, source = "compiler" } }, uri = "file:///home/anthony93/Dev/testing/test.go", version = 14 }}
  24. [DEBUG][2023-07-24 23:00:33] .../vim/lsp/rpc.lua:387 "rpc.receive" { id = 9, jsonrpc = "2.0", result = { isIncomplete = true, items = { { detail = '"fmt"', documentation = { kind = "markdown", value = "" }, filterText = "fmt", insertTextFormat = 2, kind = 9, label = "fmt", preselect = true, sortText = "00000", textEdit = { newText = "fmt", range = { ["end"] = { character = 7, line = 5 }, start = { character = 4, line = 5 } } } }, { additionalTextEdits = { { newText = "(\n\t", range = { ["end"] = { character = 7, line = 2 }, start = { character = 7, line = 2 } } }, { newText = '\t"internal/fmtsort"\n)\n', range = { ["end"] = { character = 0, line = 3 }, start = { character = 0, line = 3 } } } }, detail = '"internal/fmtsort"', documentation = { kind = "markdown", value = "" }, filterText = "fmtsort", insertTextFormat = 2, kind = 9, label = "fmtsort", sortText = "00001", textEdit = { newText = "fmtsort", range = { ["end"] = { character = 7, line = 5 }, start = { character = 4, line = 5 } } } }, { detail = "func(b []byte, a ...any) []byte", documentation = { kind = "markdown", value = "Append formats using the default formats for its operands, appends the result to the byte slice, and returns the updated slice.\n" }, filterText = "fmt.Append", insertTextFormat = 2, kind = 3, label = "fmt.Append", sortText = "00002", textEdit = { newText = "fmt.Append(${1:})", range = { ["end"] = { character = 7, line = 5 }, start = { character = 4, line = 5 } } } }, { detail = "func(b []byte, format string, a ...any) []byte", documentation = { kind = "markdown", value = "Appendf formats according to a format specifier, appends the result to the byte slice, and returns the updated slice.\n" }, filterText = "fmt.Appendf", insertTextFormat = 2, kind = 3, label = "fmt.Appendf", sortText = "00003", textEdit = { newText = "fmt.Appendf(${1:})", range = { ["end"] = { character = 7, line = 5 }, start = { character = 4, line = 5 } } } }, { detail = "func(b []byte, a ...any) []byte", documentation = { kind = "markdown", value = "Appendln formats using the default formats for its operands, appends the result to the byte slice, and returns the updated slice. Spaces are always added between operands and a newline is appended.\n" }, filterText = "fmt.Appendln", insertTextFormat = 2, kind = 3, label = "fmt.Appendln", sortText = "00004", textEdit = { newText = "fmt.Appendln(${1:})", range = { ["end"] = { character = 7, line = 5 }, start = { character = 4, line = 5 } } } } } }}
  25. [DEBUG][2023-07-24 23:00:34] .../lua/vim/lsp.lua:1392 "LSP[gopls]" "client.request" 1 "textDocument/semanticTokens/full" { textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go" }} <function 1> 1
  26. [DEBUG][2023-07-24 23:00:34] .../vim/lsp/rpc.lua:284 "rpc.send" { id = 10, jsonrpc = "2.0", method = "textDocument/semanticTokens/full", params = { textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go" } }}
  27. [DEBUG][2023-07-24 23:00:34] .../vim/lsp/rpc.lua:387 "rpc.receive" { id = 10, jsonrpc = "2.0", result = { data = { 0, 0, 7, 15, 0, 0, 8, 4, 0, 0, 2, 0, 6, 15, 0, 0, 8, 3, 0, 0, 2, 0, 4, 15, 0, 0, 5, 4, 12, 2, 1, 4, 3, 0, 0 }, resultId = "2023-07-24 23:00:34.008530943 +0800 +08 m=+27.564632723" }}
  28. [DEBUG][2023-07-24 23:00:34] .../vim/lsp/rpc.lua:284 "rpc.send" { jsonrpc = "2.0", method = "textDocument/didChange", params = { contentChanges = { { range = { ["end"] = { character = 7, line = 5 }, start = { character = 7, line = 5 } }, rangeLength = 0, text = "." } }, textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go", version = 15 } }}
  29. [DEBUG][2023-07-24 23:00:34] .../lua/vim/lsp.lua:1392 "LSP[gopls]" "client.request" 1 "textDocument/completion" { context = { triggerCharacter = ".", triggerKind = 2 }, position = { character = 8, line = 5 }, textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go" }} <function 1> 1
  30. [DEBUG][2023-07-24 23:00:34] .../vim/lsp/rpc.lua:284 "rpc.send" { id = 11, jsonrpc = "2.0", method = "textDocument/completion", params = { context = { triggerCharacter = ".", triggerKind = 2 }, position = { character = 8, line = 5 }, textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go" } }}
  31. [DEBUG][2023-07-24 23:00:34] .../vim/lsp/rpc.lua:387 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = { { message = "expected selector or type assertion, found '}'", range = { ["end"] = { character = 0, line = 6 }, start = { character = 0, line = 6 } }, severity = 1, source = "syntax" } }, uri = "file:///home/anthony93/Dev/testing/test.go", version = 15 }}
  32. [DEBUG][2023-07-24 23:00:34] .../vim/lsp/rpc.lua:387 "rpc.receive" { id = 11, jsonrpc = "2.0", result = { isIncomplete = true, items = { { detail = "func(b []byte, a ...any) []byte", documentation = { kind = "markdown", value = "Append formats using the default formats for its operands, appends the result to the byte slice, and returns the updated slice.\n" }, filterText = "Append", insertTextFormat = 2, kind = 3, label = "Append", preselect = true, sortText = "00000", textEdit = { newText = "Append(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(b []byte, format string, a ...any) []byte", documentation = { kind = "markdown", value = "Appendf formats according to a format specifier, appends the result to the byte slice, and returns the updated slice.\n" }, filterText = "Appendf", insertTextFormat = 2, kind = 3, label = "Appendf", sortText = "00001", textEdit = { newText = "Appendf(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(b []byte, a ...any) []byte", documentation = { kind = "markdown", value = "Appendln formats using the default formats for its operands, appends the result to the byte slice, and returns the updated slice. Spaces are always added between operands and a newline is appended.\n" }, filterText = "Appendln", insertTextFormat = 2, kind = 3, label = "Appendln", sortText = "00002", textEdit = { newText = "Appendln(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(format string, a ...any) error", documentation = { kind = "markdown", value = "Errorf formats according to a format specifier and returns the string as a value that satisfies error.\n\nIf the format specifier includes a %w verb with an error operand, the returned error will implement an Unwrap method returning the operand. If there is more than one %w verb, the returned error will implement an Unwrap method returning a \\[]error containing all the %w operands in the order they appear in the arguments. It is invalid to supply the %w verb with an operand that does not implement the error interface. The %w verb is otherwise a synonym for %v.\n" }, filterText = "Errorf", insertTextFormat = 2, kind = 3, label = "Errorf", sortText = "00003", textEdit = { newText = "Errorf(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(state fmt.State, verb rune) string", documentation = { kind = "markdown", value = "FormatString returns a string representing the fully qualified formatting directive captured by the State, followed by the argument verb. (State does not itself contain the verb.) The result has a leading percent sign followed by any flags, the width, and the precision. Missing flags, width, and precision are omitted. This function allows a Formatter to reconstruct the original directive triggering the call to Format.\n" }, filterText = "FormatString", insertTextFormat = 2, kind = 3, label = "FormatString", sortText = "00004", textEdit = { newText = "FormatString(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "interface{...}", documentation = { kind = "markdown", value = "Formatter is implemented by any value that has a Format method. The implementation controls how State and rune are interpreted, and may call Sprint(f) or Fprint(f) etc. to generate its output.\n" }, filterText = "Formatter", insertTextFormat = 2, kind = 8, label = "Formatter", sortText = "00005", textEdit = { newText = "Formatter", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(w io.Writer, a ...any) (n int, err error)", documentation = { kind = "markdown", value = "Fprint formats using the default formats for its operands and writes to w. Spaces are added between operands when neither is a string. It returns the number of bytes written and any write error encountered.\n" }, filterText = "Fprint", insertTextFormat = 2, kind = 3, label = "Fprint", sortText = "00006", textEdit = { newText = "Fprint(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(w io.Writer, format string, a ...any) (n int, err error)", documentation = { kind = "markdown", value = "Fprintf formats according to a format specifier and writes to w. It returns the number of bytes written and any write error encountered.\n" }, filterText = "Fprintf", insertTextFormat = 2, kind = 3, label = "Fprintf", sortText = "00007", textEdit = { newText = "Fprintf(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(w io.Writer, a ...any) (n int, err error)", documentation = { kind = "markdown", value = "Fprintln formats using the default formats for its operands and writes to w. Spaces are always added between operands and a newline is appended. It returns the number of bytes written and any write error encountered.\n" }, filterText = "Fprintln", insertTextFormat = 2, kind = 3, label = "Fprintln", sortText = "00008", textEdit = { newText = "Fprintln(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(r io.Reader, a ...any) (n int, err error)", documentation = { kind = "markdown", value = "Fscan scans text read from r, storing successive space-separated values into successive arguments. Newlines count as space. It returns the number of items successfully scanned. If that is less than the number of arguments, err will report why.\n" }, filterText = "Fscan", insertTextFormat = 2, kind = 3, label = "Fscan", sortText = "00009", textEdit = { newText = "Fscan(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(r io.Reader, format string, a ...any) (n int, err error)", documentation = { kind = "markdown", value = "Fscanf scans text read from r, storing successive space-separated values into successive arguments as determined by the format. It returns the number of items successfully parsed. Newlines in the input must match newlines in the format.\n" }, filterText = "Fscanf", insertTextFormat = 2, kind = 3, label = "Fscanf", sortText = "00010", textEdit = { newText = "Fscanf(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(r io.Reader, a ...any) (n int, err error)", documentation = { kind = "markdown", value = "Fscanln is similar to Fscan, but stops scanning at a newline and after the final item there must be a newline or EOF.\n" }, filterText = "Fscanln", insertTextFormat = 2, kind = 3, label = "Fscanln", sortText = "00011", textEdit = { newText = "Fscanln(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "interface{...}", documentation = { kind = "markdown", value = "GoStringer is implemented by any value that has a GoString method, which defines the Go syntax for that value. The GoString method is used to print values passed as an operand to a %#v format.\n" }, filterText = "GoStringer", insertTextFormat = 2, kind = 8, label = "GoStringer", sortText = "00012", textEdit = { newText = "GoStringer", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(a ...any) (n int, err error)", documentation = { kind = "markdown", value = "Print formats using the default formats for its operands and writes to standard output. Spaces are added between operands when neither is a string. It returns the number of bytes written and any write error encountered.\n" }, filterText = "Print", insertTextFormat = 2, kind = 3, label = "Print", sortText = "00013", textEdit = { newText = "Print(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(format string, a ...any) (n int, err error)", documentation = { kind = "markdown", value = "Printf formats according to a format specifier and writes to standard output. It returns the number of bytes written and any write error encountered.\n" }, filterText = "Printf", insertTextFormat = 2, kind = 3, label = "Printf", sortText = "00014", textEdit = { newText = "Printf(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(a ...any) (n int, err error)", documentation = { kind = "markdown", value = "Println formats using the default formats for its operands and writes to standard output. Spaces are always added between operands and a newline is appended. It returns the number of bytes written and any write error encountered.\n" }, filterText = "Println", insertTextFormat = 2, kind = 3, label = "Println", sortText = "00015", textEdit = { newText = "Println(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(a ...any) (n int, err error)", documentation = { kind = "markdown", value = "Scan scans text read from standard input, storing successive space-separated values into successive arguments. Newlines count as space. It returns the number of items successfully scanned. If that is less than the number of arguments, err will report why.\n" }, filterText = "Scan", insertTextFormat = 2, kind = 3, label = "Scan", sortText = "00016", textEdit = { newText = "Scan(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "interface{...}", documentation = { kind = "markdown", value = "ScanState represents the scanner state passed to custom scanners. Scanners may do rune-at-a-time scanning or ask the ScanState to discover the next space-delimited token.\n" }, filterText = "ScanState", insertTextFormat = 2, kind = 8, label = "ScanState", sortText = "00017", textEdit = { newText = "ScanState", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(format string, a ...any) (n int, err error)", documentation = { kind = "markdown", value = "Scanf scans text read from standard input, storing successive space-separated values into successive arguments as determined by the format. It returns the number of items successfully scanned. If that is less than the number of arguments, err will report why. Newlines in the input must match newlines in the format. The one exception: the verb %c always scans the next rune in the input, even if it is a space (or tab etc.) or newline.\n" }, filterText = "Scanf", insertTextFormat = 2, kind = 3, label = "Scanf", sortText = "00018", textEdit = { newText = "Scanf(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(a ...any) (n int, err error)", documentation = { kind = "markdown", value = "Scanln is similar to Scan, but stops scanning at a newline and after the final item there must be a newline or EOF.\n" }, filterText = "Scanln", insertTextFormat = 2, kind = 3, label = "Scanln", sortText = "00019", textEdit = { newText = "Scanln(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "interface{...}", documentation = { kind = "markdown", value = "Scanner is implemented by any value that has a Scan method, which scans the input for the representation of a value and stores the result in the receiver, which must be a pointer to be useful. The Scan method is called for any argument to Scan, Scanf, or Scanln that implements it.\n" }, filterText = "Scanner", insertTextFormat = 2, kind = 8, label = "Scanner", sortText = "00020", textEdit = { newText = "Scanner", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(a ...any) string", documentation = { kind = "markdown", value = "Sprint formats using the default formats for its operands and returns the resulting string. Spaces are added between operands when neither is a string.\n" }, filterText = "Sprint", insertTextFormat = 2, kind = 3, label = "Sprint", sortText = "00021", textEdit = { newText = "Sprint(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(format string, a ...any) string", documentation = { kind = "markdown", value = "Sprintf formats according to a format specifier and returns the resulting string.\n" }, filterText = "Sprintf", insertTextFormat = 2, kind = 3, label = "Sprintf", sortText = "00022", textEdit = { newText = "Sprintf(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(a ...any) string", documentation = { kind = "markdown", value = "Sprintln formats using the default formats for its operands and returns the resulting string. Spaces are always added between operands and a newline is appended.\n" }, filterText = "Sprintln", insertTextFormat = 2, kind = 3, label = "Sprintln", sortText = "00023", textEdit = { newText = "Sprintln(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(str string, a ...any) (n int, err error)", documentation = { kind = "markdown", value = "Sscan scans the argument string, storing successive space-separated values into successive arguments. Newlines count as space. It returns the number of items successfully scanned. If that is less than the number of arguments, err will report why.\n" }, filterText = "Sscan", insertTextFormat = 2, kind = 3, label = "Sscan", sortText = "00024", textEdit = { newText = "Sscan(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(str string, format string, a ...any) (n int, err error)", documentation = { kind = "markdown", value = "Sscanf scans the argument string, storing successive space-separated values into successive arguments as determined by the format. It returns the number of items successfully parsed. Newlines in the input must match newlines in the format.\n" }, filterText = "Sscanf", insertTextFormat = 2, kind = 3, label = "Sscanf", sortText = "00025", textEdit = { newText = "Sscanf(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "func(str string, a ...any) (n int, err error)", documentation = { kind = "markdown", value = "Sscanln is similar to Sscan, but stops scanning at a newline and after the final item there must be a newline or EOF.\n" }, filterText = "Sscanln", insertTextFormat = 2, kind = 3, label = "Sscanln", sortText = "00026", textEdit = { newText = "Sscanln(${1:})", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "interface{...}", documentation = { kind = "markdown", value = "State represents the printer state passed to custom formatters. It provides access to the io.Writer interface plus information about the flags and options for the operand's format specifier.\n" }, filterText = "State", insertTextFormat = 2, kind = 8, label = "State", sortText = "00027", textEdit = { newText = "State", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } }, { detail = "interface{...}", documentation = { kind = "markdown", value = "Stringer is implemented by any value that has a String method, which defines the “native” format for that value. The String method is used to print values passed as an operand to any format that accepts a string or to an unformatted printer such as Print.\n" }, filterText = "Stringer", insertTextFormat = 2, kind = 8, label = "Stringer", sortText = "00028", textEdit = { newText = "Stringer", range = { ["end"] = { character = 8, line = 5 }, start = { character = 8, line = 5 } } } } } }}
  33. [DEBUG][2023-07-24 23:00:34] .../lua/vim/lsp.lua:1392 "LSP[gopls]" "client.request" 1 "textDocument/semanticTokens/full" { textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go" }} <function 1> 1
  34. [DEBUG][2023-07-24 23:00:34] .../vim/lsp/rpc.lua:284 "rpc.send" { id = 12, jsonrpc = "2.0", method = "textDocument/semanticTokens/full", params = { textDocument = { uri = "file:///home/anthony93/Dev/testing/test.go" } }}
  35. [DEBUG][2023-07-24 23:00:34] .../vim/lsp/rpc.lua:387 "rpc.receive" { id = 12, jsonrpc = "2.0", result = { data = { 0, 0, 7, 15, 0, 0, 8, 4, 0, 0, 2, 0, 6, 15, 0, 0, 8, 3, 0, 0, 2, 0, 4, 15, 0, 0, 5, 4, 12, 2, 1, 4, 3, 0, 0, 0, 4, 1, 8, 0 }, resultId = "2023-07-24 23:00:34.314455143 +0800 +08 m=+27.870556434" }}
  36. [DEBUG][2023-07-24 23:01:03] .../vim/lsp/rpc.lua:387 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "2023/07/24 23:01:03 background imports cache refresh starting\n", type = 3 }}
  37. [INFO][2023-07-24 23:01:03] ...lsp/handlers.lua:539 "2023/07/24 23:01:03 background imports cache refresh starting\n"
  38. [DEBUG][2023-07-24 23:01:03] .../vim/lsp/rpc.lua:387 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "2023/07/24 23:01:03 background refresh finished after 214.693µs\n", type = 3 }}
  39. [INFO][2023-07-24 23:01:03] ...lsp/handlers.lua:539 "2023/07/24 23:01:03 background refresh finished after 214.693µs\n"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement