Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/gopls: not working with sidecar environment #40139

Closed
gattytto opened this issue Jul 9, 2020 · 16 comments
Closed

x/tools/gopls: not working with sidecar environment #40139

gattytto opened this issue Jul 9, 2020 · 16 comments
Labels
FrozenDueToAge gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@gattytto
Copy link

gattytto commented Jul 9, 2020

What version of Go are you using (go version)?

$ go version
@master
go version devel +9699086043 Wed Jul 8 19:50:20 2020 +0000 linux/amd64

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

x64 cri-o runc rootless container (Dockerfile, YAML with ENV vars) in lxc in debian (PVE 5.4.41-1)

go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/.cache"
GOENV="/home/theia/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/go/pkg/mod"
GONOPROXY=""
GONOSUMDB="true"
GOOS="linux"
GOPATH="/go:/projects"
GOPRIVATE=""
GOPROXY="direct"
GOROOT="/usr/local/go"
GOSUMDB="off"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build907253733=/tmp/go-build -gno-record-gcc-switches"

What did you do?

setup eclipse che nightly in minikube inside a LXC container over ZFS, prepare a golang sidecar and follow the eclipse recipe to add a ms-vscode extension to che-plugin-registry.

right click an object in a go file and go to "peek" menu, then click "Peek Definition"

What did you expect to see?

"PEEK DEFINITION" popup showing the source file around the definition of an object.

What did you see instead?

"no definition for " notificaiton

verbose logs around gopls@0.4.3 using golang@lmaster: Output
[Trace - 19:41:50.986 PM] Sending request 'initialize - (0)'.
Params: {"processId":1,"clientInfo":{"name":"vscode","version":"1.44.0"},"rootPath":"/projects/src/github.com/gattytto/gopos-backend","rootUri":"file:///projects/src/github.com/gattytto/gopos-backend","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]}},"executeCommand":{"dynamicRegistration":true},"configuration":true,"workspaceFolders":true},"textDocument":{"publishDiagnostics":{"relatedInformation":true,"versionSupport":false,"tagSupport":{"valueSet":[1,2]}},"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"contextSupport":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"preselectSupport":true,"tagSupport":{"valueSet":[1]}},"completionItemKind":{"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]}},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}},"contextSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"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]},"hierarchicalDocumentSymbolSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"codeLens":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"colorProvider":{"dynamicRegistration":true},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"selectionRange":{"dynamicRegistration":true}},"window":{"workDoneProgress":true}},"initializationOptions":{},"trace":"verbose","workspaceFolders":[{"uri":"file:///projects/src/github.com/gattytto/gopos-backend","name":"gopos-backend"}]}


[Trace - 19:41:50.995 PM] Received response 'initialize - (0)' in 8ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","source.fixAll","source.organizeImports"]},"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":""},"renameProvider":{"prepareProvider":true},"foldingRangeProvider":true,"executeCommandProvider":{"commands":["test","tidy","upgrade.dependency","generate","regenerate_cgo"]},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"Build info\n----------\ngolang.org/x/tools/gopls master\n    golang.org/x/tools/gopls@v0.0.0-20200708183856-df98bc6d456c h1:RKhZv29qieG7cLU8iAMPps4MnM+aErJwxg6ltd6qxUk=\n    github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=\n    github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=\n    golang.org/x/crypto@v0.0.0-20200622213623-75b288015ac9 h1:psW17arqaxU48Z5kZ0CQnkZWQJsqcURM6tKiBApRjXI=\n    golang.org/x/mod@v0.2.0 h1:KU7oHjnv3XNWfa5COkzUifxZmxp1TyI7ImMXqFxLwvQ=\n    golang.org/x/net@v0.0.0-20200707034311-ab3426394381 h1:VXak5I6aEWmAXeQjA+QSZzlgNrpq9mjcfDemuexIKsU=\n    golang.org/x/sync@v0.0.0-20190911185100-cd5d95a43a6e h1:vcxGaoTs7kV8m5Np9uUNQin4BrLOthgV7252N8V+FwY=\n    golang.org/x/sys@v0.0.0-20200501145240-bc7a7d42d5c3 h1:5B6i6EAiSYyejWfvc5Rc9BbI3rzIsrrXfAQBWnYfn+w=\n    golang.org/x/text@v0.3.3-0.20200430171850-afb9336c4530 h1:5BI4smlcep+Tom3S2Ogln1ojaBZK8Gomqwu5WpBL0jU=\n    golang.org/x/tools@v0.0.0-20200515220128-d3bf790afa53 h1:vmsb6v0zUdmUlXfwKaYrHPPRCV0lHq/IwNIf0ASGjyQ=\n    golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=\n    honnef.co/go/tools@v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8=\n    mvdan.cc/xurls/v2@v2.2.0 h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=\n\nGo info\n-------\ngo version devel +9699086043 Wed Jul 8 19:50:20 2020 +0000 linux/amd64\n\n"}}


[Trace - 19:41:50.997 PM] Sending notification 'initialized'.
Params: {}


[Trace - 19:41:50.998 PM] Received request 'client/registerCapability - (1)'.
Params: {"registrations":[{"id":"workspace/didChangeConfiguration","method":"workspace/didChangeConfiguration"},{"id":"workspace/didChangeWorkspaceFolders","method":"workspace/didChangeWorkspaceFolders"},{"id":"workspace/didChangeWatchedFiles","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"**/*.go","kind":7}]}}]}


[Trace - 19:41:51.006 PM] Sending response 'client/registerCapability - (1)' in 7ms.
Result: 


[Trace - 19:41:51.010 PM] Received request 'workspace/configuration - (2)'.
Params: {"items":[{"scopeUri":"file:///projects/src/github.com/gattytto/gopos-backend","section":"gopls"},{"scopeUri":"file:///projects/src/github.com/gattytto/gopos-backend","section":"gopls-gopos-backend"}]}


[Trace - 19:41:51.011 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:41:51 Build info\n----------\ngolang.org/x/tools/gopls master\n    golang.org/x/tools/gopls@v0.0.0-20200708183856-df98bc6d456c h1:RKhZv29qieG7cLU8iAMPps4MnM+aErJwxg6ltd6qxUk=\n    github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=\n    github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=\n    golang.org/x/crypto@v0.0.0-20200622213623-75b288015ac9 h1:psW17arqaxU48Z5kZ0CQnkZWQJsqcURM6tKiBApRjXI=\n    golang.org/x/mod@v0.2.0 h1:KU7oHjnv3XNWfa5COkzUifxZmxp1TyI7ImMXqFxLwvQ=\n    golang.org/x/net@v0.0.0-20200707034311-ab3426394381 h1:VXak5I6aEWmAXeQjA+QSZzlgNrpq9mjcfDemuexIKsU=\n    golang.org/x/sync@v0.0.0-20190911185100-cd5d95a43a6e h1:vcxGaoTs7kV8m5Np9uUNQin4BrLOthgV7252N8V+FwY=\n    golang.org/x/sys@v0.0.0-20200501145240-bc7a7d42d5c3 h1:5B6i6EAiSYyejWfvc5Rc9BbI3rzIsrrXfAQBWnYfn+w=\n    golang.org/x/text@v0.3.3-0.20200430171850-afb9336c4530 h1:5BI4smlcep+Tom3S2Ogln1ojaBZK8Gomqwu5WpBL0jU=\n    golang.org/x/tools@v0.0.0-20200515220128-d3bf790afa53 h1:vmsb6v0zUdmUlXfwKaYrHPPRCV0lHq/IwNIf0ASGjyQ=\n    golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=\n    honnef.co/go/tools@v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8=\n    mvdan.cc/xurls/v2@v2.2.0 h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=\n\nGo info\n-------\ngo version devel +9699086043 Wed Jul 8 19:50:20 2020 +0000 linux/amd64\n\n\n"}


[Trace - 19:41:51.013 PM] Sending response 'workspace/configuration - (2)' in 3ms.
Result: [null,null]


[Trace - 19:41:51.056 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:41:51 go env for /projects/src/github.com/gattytto/gopos-backend\n(valid build configuration = true)\n(build flags: [-modfile=/tmp/go.gopos-backend.075474103.mod])\nGO111MODULE=\"on\"\nGOARCH=\"amd64\"\nGOBIN=\"\"\nGOCACHE=\"/.cache\"\nGOENV=\"/home/theia/.config/go/env\"\nGOEXE=\"\"\nGOFLAGS=\"\"\nGOHOSTARCH=\"amd64\"\nGOHOSTOS=\"linux\"\nGOINSECURE=\"\"\nGOMODCACHE=\"/go/pkg/mod\"\nGONOPROXY=\"\"\nGONOSUMDB=\"true\"\nGOOS=\"linux\"\nGOPATH=\"/go:/projects\"\nGOPRIVATE=\"\"\nGOPROXY=\"direct\"\nGOROOT=\"/usr/local/go\"\nGOSUMDB=\"off\"\nGOTMPDIR=\"\"\nGOTOOLDIR=\"/usr/local/go/pkg/tool/linux_amd64\"\nGCCGO=\"gccgo\"\nAR=\"ar\"\nCC=\"gcc\"\nCXX=\"g++\"\nCGO_ENABLED=\"1\"\nGOMOD=\"/projects/src/github.com/gattytto/gopos-backend/go.mod\"\nCGO_CFLAGS=\"-g -O2\"\nCGO_CPPFLAGS=\"\"\nCGO_CXXFLAGS=\"-g -O2\"\nCGO_FFLAGS=\"-g -O2\"\nCGO_LDFLAGS=\"-g -O2\"\nPKG_CONFIG=\"pkg-config\"\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build232508071=/tmp/go-build -gno-record-gcc-switches\"\n\n"}


[Trace - 19:42:36.315 PM] Sending notification 'textDocument/didOpen'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go","languageId":"go","version":1,"text":"package impl\n\nimport (\n\t. \"github.com/gattytto/libgopos_go/v1alpha1\"\n\t\"context\"\n\t\"fmt\"\n\t\"log\"\n)\n\n//InventarioServiceGrpcImpl is an implementation of ProductService gRPC Service\ntype InventarioServiceGrpcImpl struct {\n\n}\n\n//NewInventarioServiceGrpcImpl returns the pointer to the implementation.\nfunc NewInventarioServiceGrpcImpl() *InventarioServiceGrpcImpl {\n\treturn &InventarioServiceGrpcImpl{}\n}\n\n// CreateComprobante function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) CreateComprobante(ctx context.Context, in *CreateComprobanteRequest) (*CreateComprobanteResponse, error) {\n\tlog.Println(\"Received request for adding comprobante with id \" + fmt.Sprint(in.Comprobante.GetId()))\n\n\tlog.Println(\"Comprobante persisted to storage\")\n\n\treturn &CreateComprobanteResponse{\n\t\tCreatedComprobante: in.Comprobante,\n\t\tError:           nil,\n\t}, nil\n\n}\n\n// GetComprobante function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) GetComprobante(ctx context.Context, in *GetComprobanteRequest) (*GetComprobanteResponse, error) {\n\tlog.Println(\"Received request for getting Articulo with id \" + fmt.Sprint(in.Id))\n\t\n\t//Logic to persist to database or storage.\n\tlog.Println(\"Articulo returned\")\n\tvar prod Comprobante\n\tprod.Id = 20\n\treturn &GetComprobanteResponse{\n\t\tComprobante:\t&prod,\n\t\tError:\t\tnil,\n\t}, nil\n}\n\n// UpdateComprobante Method def\nfunc (serviceImpl *InventarioServiceGrpcImpl) UpdateComprobante(ctx context.Context, in *UpdateComprobanteRequest) (*UpdateComprobanteResponse, error){\n\tlog.Println(\"Received request for updating comprobante with id \" + fmt.Sprint(in.Comprobante.Id))\n\n\treturn &UpdateComprobanteResponse{\n\t\tUpdatedComprobante: in.Comprobante,\n\t\tError:           nil,\n\t}, nil\n}\n\n// DeleteComprobante function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) DeleteComprobante(ctx context.Context, in *DeleteComprobanteRequest) (*DeleteComprobanteResponse, error){\n\tlog.Println(\"Received request for deleting product with id \" + fmt.Sprint(in.Id))\n\n\tlog.Println(\"Comprobante was deleted\")\n\n\treturn &DeleteComprobanteResponse{\n\t\tError: nil,\n\t},nil\n\t\n}\n\n// CreateArticulo function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) CreateArticulo(ctx context.Context, in *CreateArticuloRequest) (*CreateArticuloResponse, error) {\n\tlog.Println(\"Received request for adding Articulo with id \" + fmt.Sprint(in.Articulo.GetId()))\n\n\tlog.Println(\"Articulo persisted to storage\")\n\n\treturn &CreateArticuloResponse{\n\t\tCreatedArticulo: in.Articulo,\n\t\tError:           nil,\n\t}, nil\n\n}\n\n// GetArticulo function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) GetArticulo(ctx context.Context, in *GetArticuloRequest) (*GetArticuloResponse, error) {\n\tlog.Println(\"Received request for getting Articulo with id \" + fmt.Sprint(in.Id))\n\t\n\t//Logic to persist to database or storage.\n\tlog.Println(\"Articulo returned\")\n\tvar prod Articulo\n\tprod.Id = 20\n\treturn &GetArticuloResponse{\n\t\tArticulo:\t&prod,\n\t\tError:\t\tnil,\n\t}, nil\n}\n\n// UpdateArticulo function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) UpdateArticulo(ctx context.Context, in *UpdateArticuloRequest) (*UpdateArticuloResponse, error){\n\tlog.Println(\"Received request for updating Articulo with id \" + fmt.Sprint(in.Articulo.Id))\n\n\treturn &UpdateArticuloResponse{\n\t\tUpdatedArticulo: in.Articulo,\n\t\tError:           nil,\n\t}, nil\n}\n\n//DeleteArticulo function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) DeleteArticulo(ctx context.Context, in *DeleteArticuloRequest) (*DeleteArticuloResponse, error){\n\tlog.Println(\"Received request for deleting product with id \" + fmt.Sprint(in.Id))\n\n\tlog.Println(\"Articulo was deleted\")\n\n\treturn &DeleteArticuloResponse{\n\t\tError: nil,\n\t},nil\n\n}\n\n//ListComprobantes function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) ListComprobantes(req *ListComprobantesRequest, stream Inventario_ListComprobantesServer) error {\n\t/*for _, feature := range s.savedFeatures {\n\t\tif inRange(feature.Location, rect) {\n\t\t\tif err := stream.Send(feature); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t}\n\t}*/\n\t\n\treturn nil\n}\n\n//ListArticulos function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) ListArticulos(req *ListArticulosRequest, stream Inventario_ListArticulosServer) error {\n\t/*for _, feature := range s.savedFeatures {\n\t\tif inRange(feature.Location, rect) {\n\t\t\tif err := stream.Send(feature); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t}\n\t}*/\n\t\n\treturn nil\n}\n\n//BulkPatchArticulos function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) BulkPatchArticulos(stream Inventario_BulkPatchArticulosServer) error {\n\t/*for _, feature := range s.savedFeatures {\n\t\tif inRange(feature.Location, rect) {\n\t\t\tif err := stream.Send(feature); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t}\n\t}*/\n\t\n\treturn nil\n}\n\n//BulkPatchComprobantes function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) BulkPatchComprobantes(stream Inventario_BulkPatchComprobantesServer) error {\n\t/*for _, feature := range s.savedFeatures {\n\t\tif inRange(feature.Location, rect) {\n\t\t\tif err := stream.Send(feature); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t}\n\t}*/\n\t\n\treturn nil\n}"}}


[Trace - 19:42:36.482 PM] Sending request 'textDocument/documentLink - (1)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"}}


[Trace - 19:42:36.483 PM] Sending request 'textDocument/codeAction - (2)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":0}},"context":{"diagnostics":[]}}


[Trace - 19:42:36.483 PM] Sending request 'textDocument/foldingRange - (3)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"}}


[Trace - 19:42:36.523 PM] Sending request 'textDocument/codeLens - (4)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"}}


[Trace - 19:44:52.648 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:44:52 go/packages.Load\n\tsnapshot=0\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[./... builtin]\n\tpackages=1\n"}


[Trace - 19:44:53.177 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:44:53 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:44:53.180 PM] Received response 'textDocument/documentLink - (1)' in 136697ms.
Result: null


[Trace - 19:44:53.180 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/09 19:44:53 failed to compute document links: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 19:44:53.394 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:44:53 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:44:53.801 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:44:53 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:44:57.493 PM] Received response 'textDocument/codeAction - (2)' in 141010ms.
Result: [{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"edits":[{"range":{"start":{"line":3,"character":1},"end":{"line":3,"character":1}},"newText":"\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\t"},{"range":{"start":{"line":3,"character":44},"end":{"line":6,"character":5}},"newText":""}]}]}}]


[Trace - 19:44:57.495 PM] Received response 'textDocument/foldingRange - (3)' in 141012ms.
Result: [{"startLine":2,"startCharacter":8,"endLine":6,"endCharacter":6,"kind":"imports"},{"startLine":15,"startCharacter":64,"endLine":16,"endCharacter":36},{"startLine":20,"startCharacter":152,"endLine":28,"endCharacter":7},{"startLine":33,"startCharacter":143,"endLine":43,"endCharacter":7},{"startLine":47,"startCharacter":151,"endLine":53,"endCharacter":7},{"startLine":57,"startCharacter":151,"endLine":64,"endCharacter":6},{"startLine":69,"startCharacter":143,"endLine":77,"endCharacter":7},{"startLine":82,"startCharacter":134,"endLine":92,"endCharacter":7},{"startLine":96,"startCharacter":142,"endLine":102,"endCharacter":7},{"startLine":106,"startCharacter":142,"endLine":113,"endCharacter":6},{"startLine":118,"startCharacter":142,"endLine":127,"endCharacter":11},{"startLine":131,"startCharacter":133,"endLine":140,"endCharacter":11},{"startLine":144,"startCharacter":116,"endLine":153,"endCharacter":11},{"startLine":157,"startCharacter":122,"endLine":166,"endCharacter":11}]


[Trace - 19:44:57.496 PM] Received response 'textDocument/codeLens - (4)' in 140973ms.
Result: null


[Trace - 19:45:27.616 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:45:27 background imports cache refresh starting\n"}


[Trace - 19:45:32.545 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:45:32 background refresh finished after 5.052718829s\n"}


[Trace - 19:46:07.065 PM] Sending request 'textDocument/hover - (5)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":9,"character":12}}


[Trace - 19:46:07.223 PM] Sending notification '$/cancelRequest'.
Params: {"id":5}


[Error - Received] 19:46:07.225 PM #5 JSON RPC cancelled


[Trace - 19:46:08.054 PM] Sending request 'textDocument/codeAction - (6)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":2}},"context":{"diagnostics":[]}}


[Trace - 19:46:08.054 PM] Received response 'textDocument/codeAction - (6)' in 0ms.
Result: [{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"edits":[{"range":{"start":{"line":3,"character":1},"end":{"line":3,"character":1}},"newText":"\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\t"},{"range":{"start":{"line":3,"character":44},"end":{"line":6,"character":5}},"newText":""}]}]}}]


[Trace - 19:46:08.463 PM] Sending request 'textDocument/hover - (7)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":3,"character":2}}


[Trace - 19:46:08.778 PM] Received response 'textDocument/hover - (7)' in 314ms.
Result: null


[Trace - 19:46:08.778 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:46:08 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:46:08.982 PM] Sending request 'textDocument/hover - (8)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":3,"character":2}}


[Trace - 19:46:09.238 PM] Sending notification '$/cancelRequest'.
Params: {"id":8}


[Error - Received] 19:46:09.240 PM #8 JSON RPC cancelled


[Trace - 19:46:09.597 PM] Sending request 'textDocument/hover - (9)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":6,"character":6}}


[Trace - 19:46:09.897 PM] Received response 'textDocument/hover - (9)' in 299ms.
Result: null


[Trace - 19:46:09.897 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:46:09 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:46:12.983 PM] Sending request 'textDocument/hover - (10)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":26,"character":26}}


[Trace - 19:46:13.032 PM] Sending notification '$/cancelRequest'.
Params: {"id":10}


[Error - Received] 19:46:13.036 PM #10 JSON RPC cancelled


[Trace - 19:46:13.188 PM] Sending request 'textDocument/hover - (11)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":26,"character":27}}


[Trace - 19:46:13.497 PM] Received response 'textDocument/hover - (11)' in 308ms.
Result: null


[Trace - 19:46:13.497 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:46:13 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:46:15.225 PM] Sending request 'textDocument/hover - (12)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":36,"character":12}}


[Trace - 19:46:15.449 PM] Sending notification '$/cancelRequest'.
Params: {"id":12}


[Error - Received] 19:46:15.450 PM #12 JSON RPC cancelled


[Trace - 19:46:15.526 PM] Sending request 'textDocument/hover - (13)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":15}}


[Trace - 19:46:15.682 PM] Sending notification '$/cancelRequest'.
Params: {"id":13}


[Error - Received] 19:46:15.684 PM #13 JSON RPC cancelled


[Trace - 19:46:15.834 PM] Sending request 'textDocument/hover - (14)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":16}}


[Trace - 19:46:15.906 PM] Sending request 'textDocument/documentHighlight - (15)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":16}}


[Trace - 19:46:15.906 PM] Sending notification '$/cancelRequest'.
Params: {"id":14}


[Error - Received] 19:46:15.909 PM #14 JSON RPC cancelled


[Trace - 19:46:16.132 PM] Sending request 'textDocument/codeAction - (16)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":38,"character":16},"end":{"line":38,"character":16}},"context":{"diagnostics":[]}}


[Trace - 19:46:16.211 PM] Received response 'textDocument/documentHighlight - (15)' in 304ms.
Result: []


[Trace - 19:46:16.211 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:46:16 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:46:16.212 PM] Received response 'textDocument/codeAction - (16)' in 79ms.
Result: [{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"edits":[{"range":{"start":{"line":3,"character":1},"end":{"line":3,"character":1}},"newText":"\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\t"},{"range":{"start":{"line":3,"character":44},"end":{"line":6,"character":5}},"newText":""}]}]}}]


[Trace - 19:46:16.212 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/09 19:46:16 no highlight: getting file for Highlight: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 19:46:17.050 PM] Sending request 'textDocument/hover - (17)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":17}}


[Trace - 19:46:17.102 PM] Sending notification '$/cancelRequest'.
Params: {"id":17}


[Error - Received] 19:46:17.104 PM #17 JSON RPC cancelled


[Trace - 19:46:17.256 PM] Sending request 'textDocument/hover - (18)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":16}}


[Trace - 19:46:17.557 PM] Received response 'textDocument/hover - (18)' in 300ms.
Result: null


[Trace - 19:46:17.557 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:46:17 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:46:18.175 PM] Sending request 'textDocument/hover - (19)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":16}}


[Trace - 19:46:18.275 PM] Sending notification '$/cancelRequest'.
Params: {"id":19}


[Error - Received] 19:46:18.276 PM #19 JSON RPC cancelled


[Trace - 19:46:18.504 PM] Sending request 'textDocument/codeAction - (20)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":38,"character":17},"end":{"line":38,"character":17}},"context":{"diagnostics":[]}}


[Trace - 19:46:18.505 PM] Received response 'textDocument/codeAction - (20)' in 0ms.
Result: [{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"edits":[{"range":{"start":{"line":3,"character":1},"end":{"line":3,"character":1}},"newText":"\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\t"},{"range":{"start":{"line":3,"character":44},"end":{"line":6,"character":5}},"newText":""}]}]}}]


[Trace - 19:46:20.469 PM] Sending request 'textDocument/definition - (21)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":17}}


[Error - Received] 19:46:20.786 PM #21 getting file for Identifier: no PackageHandles


[Trace - 19:46:20.787 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:46:20 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:50:20.692 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:50:20 background imports cache refresh starting\n"}


[Trace - 19:50:20.698 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:50:20 background refresh finished after 6.007376ms\n"}


[Trace - 19:51:14.087 PM] Sending request 'textDocument/documentSymbol - (22)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"}}


[Trace - 19:51:15.394 PM] Received response 'textDocument/documentSymbol - (22)' in 1306ms.
Result: []


[Trace - 19:51:15.394 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:51:15 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:51:15.394 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/09 19:51:15 DocumentSymbols failed: getting file for DocumentSymbols: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 19:56:14.435 PM] Sending request 'textDocument/hover - (23)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":37,"character":27}}


[Trace - 19:56:14.743 PM] Received response 'textDocument/hover - (23)' in 308ms.
Result: null


[Trace - 19:56:14.743 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:56:14 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:56:15.245 PM] Sending request 'textDocument/documentHighlight - (24)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":19}}


[Trace - 19:56:15.488 PM] Sending request 'textDocument/codeAction - (25)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":38,"character":19},"end":{"line":38,"character":19}},"context":{"diagnostics":[]}}


[Trace - 19:56:15.565 PM] Received response 'textDocument/documentHighlight - (24)' in 319ms.
Result: []


[Trace - 19:56:15.565 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:56:15 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:56:15.565 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/09 19:56:15 no highlight: getting file for Highlight: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 19:56:15.565 PM] Received response 'textDocument/codeAction - (25)' in 77ms.
Result: [{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"edits":[{"range":{"start":{"line":3,"character":1},"end":{"line":3,"character":1}},"newText":"\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\t"},{"range":{"start":{"line":3,"character":44},"end":{"line":6,"character":5}},"newText":""}]}]}}]


[Trace - 19:56:17.391 PM] Sending request 'textDocument/definition - (26)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":19}}


[Error - Received] 19:56:17.683 PM #26 getting file for Identifier: no PackageHandles


[Trace - 19:56:17.683 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:56:17 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:56:19.154 PM] Sending request 'textDocument/hover - (27)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":37,"character":18}}


[Trace - 19:56:19.208 PM] Sending notification '$/cancelRequest'.
Params: {"id":27}


[Error - Received] 19:56:19.210 PM #27 JSON RPC cancelled


[Trace - 19:56:19.361 PM] Sending request 'textDocument/hover - (28)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":19}}


[Trace - 19:56:19.402 PM] Sending notification '$/cancelRequest'.
Params: {"id":28}


[Error - Received] 19:56:19.404 PM #28 JSON RPC cancelled


[Trace - 19:56:21.822 PM] Sending request 'textDocument/definition - (29)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":19}}


[Trace - 19:56:22.053 PM] Sending request 'textDocument/hover - (30)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":34,"character":78}}


[Error - Received] 19:56:22.158 PM #29 getting file for Identifier: no PackageHandles


[Trace - 19:56:22.158 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:56:22 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:56:22.491 PM] Received response 'textDocument/hover - (30)' in 437ms.
Result: null


[Trace - 19:56:22.491 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:56:22 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:56:22.742 PM] Sending request 'textDocument/hover - (31)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":34,"character":78}}


[Trace - 19:56:23.043 PM] Received response 'textDocument/hover - (31)' in 300ms.
Result: null


[Trace - 19:56:23.043 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:56:23 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:56:24.055 PM] Sending request 'textDocument/definition - (32)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":34,"character":79}}


[Error - Received] 19:56:24.377 PM #32 getting file for Identifier: no PackageHandles


[Trace - 19:56:24.378 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:56:24 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:56:45.565 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:56:45 background imports cache refresh starting\n"}


[Trace - 19:56:45.571 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 19:56:45 background refresh finished after 5.497347ms\n"}


[Trace - 20:11:01.085 PM] Sending request 'textDocument/hover - (33)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":85,"character":22}}


[Trace - 20:11:01.110 PM] Sending notification '$/cancelRequest'.
Params: {"id":33}


[Error - Received] 20:11:01.112 PM #33 JSON RPC cancelled


[Trace - 20:11:01.766 PM] Sending request 'textDocument/hover - (34)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":87,"character":9}}


[Trace - 20:11:01.837 PM] Sending notification '$/cancelRequest'.
Params: {"id":34}


[Error - Received] 20:11:01.839 PM #34 JSON RPC cancelled


[Trace - 20:11:02.065 PM] Sending request 'textDocument/documentHighlight - (35)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":87,"character":11}}


[Trace - 20:11:02.314 PM] Sending request 'textDocument/codeAction - (36)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":87,"character":11},"end":{"line":87,"character":11}},"context":{"diagnostics":[]}}


[Trace - 20:11:02.385 PM] Received response 'textDocument/documentHighlight - (35)' in 319ms.
Result: []


[Trace - 20:11:02.385 PM] Received response 'textDocument/codeAction - (36)' in 70ms.
Result: [{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"edits":[{"range":{"start":{"line":3,"character":1},"end":{"line":3,"character":1}},"newText":"\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\t"},{"range":{"start":{"line":3,"character":44},"end":{"line":6,"character":5}},"newText":""}]}]}}]


[Trace - 20:11:02.386 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:11:02 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:11:02.386 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/09 20:11:02 no highlight: getting file for Highlight: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 20:11:02.593 PM] Sending request 'textDocument/hover - (37)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":87,"character":14}}


[Trace - 20:11:02.908 PM] Received response 'textDocument/hover - (37)' in 314ms.
Result: null


[Trace - 20:11:02.908 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:11:02 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:11:03.168 PM] Sending request 'textDocument/hover - (38)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":87,"character":14}}


[Trace - 20:11:03.466 PM] Received response 'textDocument/hover - (38)' in 298ms.
Result: null


[Trace - 20:11:03.466 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:11:03 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:11:03.814 PM] Sending request 'textDocument/hover - (39)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":87,"character":14}}


[Trace - 20:11:04.120 PM] Received response 'textDocument/hover - (39)' in 305ms.
Result: null


[Trace - 20:11:04.120 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:11:04 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:11:04.317 PM] Sending request 'textDocument/hover - (40)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":87,"character":14}}


[Trace - 20:11:04.614 PM] Received response 'textDocument/hover - (40)' in 296ms.
Result: null


[Trace - 20:11:04.614 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:11:04 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:11:05.476 PM] Sending request 'textDocument/hover - (41)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":87,"character":13}}


[Trace - 20:11:05.779 PM] Received response 'textDocument/hover - (41)' in 303ms.
Result: null


[Trace - 20:11:05.793 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:11:05 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:11:24.804 PM] Sending request 'textDocument/hover - (42)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":95,"character":13}}


[Trace - 20:11:24.856 PM] Sending notification '$/cancelRequest'.
Params: {"id":42}


[Error - Received] 20:11:24.858 PM #42 JSON RPC cancelled


[Trace - 20:11:25.105 PM] Sending request 'textDocument/hover - (43)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":96,"character":11}}


[Trace - 20:11:25.161 PM] Sending notification '$/cancelRequest'.
Params: {"id":43}


[Error - Received] 20:11:25.163 PM #43 JSON RPC cancelled


[Trace - 20:11:25.313 PM] Sending request 'textDocument/hover - (44)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":96,"character":11}}


[Trace - 20:11:25.401 PM] Sending notification '$/cancelRequest'.
Params: {"id":44}


[Error - Received] 20:11:25.403 PM #44 JSON RPC cancelled


[Trace - 20:11:25.551 PM] Sending request 'textDocument/hover - (45)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":96,"character":10}}


[Trace - 20:11:25.703 PM] Sending notification '$/cancelRequest'.
Params: {"id":45}


[Error - Received] 20:11:25.709 PM #45 JSON RPC cancelled


[Trace - 20:11:32.386 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:11:32 background imports cache refresh starting\n"}


[Trace - 20:11:32.394 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:11:32 background refresh finished after 8.035052ms\n"}


[Trace - 20:16:20.209 PM] Sending request 'textDocument/documentHighlight - (46)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":86,"character":21}}


[Trace - 20:16:20.435 PM] Sending request 'textDocument/codeAction - (47)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":86,"character":21},"end":{"line":86,"character":21}},"context":{"diagnostics":[]}}


[Trace - 20:16:20.518 PM] Received response 'textDocument/documentHighlight - (46)' in 308ms.
Result: []


[Trace - 20:16:20.518 PM] Received response 'textDocument/codeAction - (47)' in 83ms.
Result: [{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"edits":[{"range":{"start":{"line":3,"character":1},"end":{"line":3,"character":1}},"newText":"\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\t"},{"range":{"start":{"line":3,"character":44},"end":{"line":6,"character":5}},"newText":""}]}]}}]


[Trace - 20:16:20.518 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:16:20 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:16:20.518 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/09 20:16:20 no highlight: getting file for Highlight: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 20:16:20.701 PM] Sending request 'textDocument/hover - (48)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":87,"character":17}}


[Trace - 20:16:20.724 PM] Sending request 'textDocument/documentHighlight - (49)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":87,"character":17}}


[Trace - 20:16:20.725 PM] Sending notification '$/cancelRequest'.
Params: {"id":48}


[Error - Received] 20:16:20.726 PM #48 JSON RPC cancelled


[Trace - 20:16:20.967 PM] Sending request 'textDocument/codeAction - (50)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":87,"character":17},"end":{"line":87,"character":17}},"context":{"diagnostics":[]}}


[Trace - 20:16:21.047 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:16:21 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:16:21.047 PM] Received response 'textDocument/documentHighlight - (49)' in 323ms.
Result: []


[Trace - 20:16:21.048 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/09 20:16:21 no highlight: getting file for Highlight: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 20:16:21.048 PM] Received response 'textDocument/codeAction - (50)' in 81ms.
Result: [{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"edits":[{"range":{"start":{"line":3,"character":1},"end":{"line":3,"character":1}},"newText":"\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\t"},{"range":{"start":{"line":3,"character":44},"end":{"line":6,"character":5}},"newText":""}]}]}}]


[Trace - 20:16:21.620 PM] Sending request 'textDocument/hover - (51)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":87,"character":15}}


[Trace - 20:16:21.921 PM] Received response 'textDocument/hover - (51)' in 300ms.
Result: null


[Trace - 20:16:21.921 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:16:21 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:16:22.345 PM] Sending request 'textDocument/codeAction - (52)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":87,"character":15},"end":{"line":87,"character":15}},"context":{"diagnostics":[]}}


[Trace - 20:16:22.346 PM] Received response 'textDocument/codeAction - (52)' in 0ms.
Result: [{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"edits":[{"range":{"start":{"line":3,"character":1},"end":{"line":3,"character":1}},"newText":"\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\t"},{"range":{"start":{"line":3,"character":44},"end":{"line":6,"character":5}},"newText":""}]}]}}]


[Trace - 20:16:24.150 PM] Sending request 'textDocument/definition - (53)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":87,"character":15}}


[Error - Received] 20:16:24.464 PM #53 getting file for Identifier: no PackageHandles


[Trace - 20:16:24.464 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:16:24 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:16:28.572 PM] Sending request 'textDocument/documentHighlight - (54)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":87,"character":17}}


[Trace - 20:16:28.817 PM] Sending request 'textDocument/codeAction - (55)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":87,"character":17},"end":{"line":87,"character":17}},"context":{"diagnostics":[]}}


[Trace - 20:16:28.889 PM] Sending request 'textDocument/hover - (56)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":87,"character":17}}


[Trace - 20:16:28.904 PM] Received response 'textDocument/documentHighlight - (54)' in 331ms.
Result: []


[Trace - 20:16:28.904 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:16:28 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:16:28.904 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/09 20:16:28 no highlight: getting file for Highlight: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 20:16:28.905 PM] Received response 'textDocument/codeAction - (55)' in 88ms.
Result: [{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"edits":[{"range":{"start":{"line":3,"character":1},"end":{"line":3,"character":1}},"newText":"\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\t"},{"range":{"start":{"line":3,"character":44},"end":{"line":6,"character":5}},"newText":""}]}]}}]


[Trace - 20:16:29.226 PM] Received response 'textDocument/hover - (56)' in 336ms.
Result: null


[Trace - 20:16:29.226 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:16:29 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:16:37.102 PM] Sending request 'textDocument/hover - (57)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":87,"character":11}}


[Trace - 20:16:37.137 PM] Sending notification '$/cancelRequest'.
Params: {"id":57}


[Error - Received] 20:16:37.139 PM #57 JSON RPC cancelled


[Trace - 20:16:37.292 PM] Sending request 'textDocument/hover - (58)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":87,"character":12}}


[Trace - 20:16:37.586 PM] Received response 'textDocument/hover - (58)' in 293ms.
Result: null


[Trace - 20:16:37.586 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:16:37 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:16:50.520 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:16:50 background imports cache refresh starting\n"}


[Trace - 20:16:50.524 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:16:50 background refresh finished after 5.572635ms\n"}


[Trace - 20:17:32.364 PM] Sending request 'textDocument/documentSymbol - (59)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"}}


[Trace - 20:17:32.668 PM] Received response 'textDocument/documentSymbol - (59)' in 303ms.
Result: []


[Trace - 20:17:32.668 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:17:32 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:17:32.668 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/09 20:17:32 DocumentSymbols failed: getting file for DocumentSymbols: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 20:17:35.349 PM] Sending request 'textDocument/documentSymbol - (60)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"}}


[Trace - 20:17:35.591 PM] Sending request 'textDocument/codeAction - (61)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":87,"character":18},"end":{"line":87,"character":18}},"context":{"diagnostics":[]}}


[Trace - 20:17:36.192 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:17:36 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:17:36.192 PM] Received response 'textDocument/documentSymbol - (60)' in 842ms.
Result: []


[Trace - 20:17:36.192 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/09 20:17:36 DocumentSymbols failed: getting file for DocumentSymbols: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 20:17:36.192 PM] Received response 'textDocument/codeAction - (61)' in 601ms.
Result: [{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"edits":[{"range":{"start":{"line":3,"character":1},"end":{"line":3,"character":1}},"newText":"\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\t"},{"range":{"start":{"line":3,"character":44},"end":{"line":6,"character":5}},"newText":""}]}]}}]


[Trace - 20:18:06.192 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:18:06 background imports cache refresh starting\n"}


[Trace - 20:18:06.198 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:18:06 background refresh finished after 5.391109ms\n"}


[Trace - 20:18:44.907 PM] Sending request 'textDocument/documentHighlight - (62)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":127,"character":11}}


[Trace - 20:18:44.908 PM] Sending request 'textDocument/documentSymbol - (63)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"}}


[Trace - 20:18:45.151 PM] Sending request 'textDocument/codeAction - (64)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":127,"character":11},"end":{"line":127,"character":11}},"context":{"diagnostics":[]}}


[Trace - 20:18:45.219 PM] Received response 'textDocument/documentHighlight - (62)' in 312ms.
Result: []


[Trace - 20:18:45.219 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:18:45 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:18:45.220 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/09 20:18:45 no highlight: getting file for Highlight: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 20:18:45.545 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:18:45 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:18:45.545 PM] Received response 'textDocument/documentSymbol - (63)' in 637ms.
Result: []


[Trace - 20:18:45.546 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/09 20:18:45 DocumentSymbols failed: getting file for DocumentSymbols: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 20:18:45.546 PM] Received response 'textDocument/codeAction - (64)' in 394ms.
Result: [{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"edits":[{"range":{"start":{"line":3,"character":1},"end":{"line":3,"character":1}},"newText":"\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\t"},{"range":{"start":{"line":3,"character":44},"end":{"line":6,"character":5}},"newText":""}]}]}}]


[Trace - 20:18:57.035 PM] Sending request 'textDocument/hover - (65)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":23,"character":44}}


[Trace - 20:18:57.074 PM] Sending notification '$/cancelRequest'.
Params: {"id":65}


[Error - Received] 20:18:57.076 PM #65 JSON RPC cancelled


[Trace - 20:18:57.141 PM] Sending request 'textDocument/documentSymbol - (66)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"}}


[Trace - 20:18:57.457 PM] Received response 'textDocument/documentSymbol - (66)' in 315ms.
Result: []


[Trace - 20:18:57.457 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/09 20:18:57 DocumentSymbols failed: getting file for DocumentSymbols: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 20:18:57.457 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:18:57 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:18:58.879 PM] Sending request 'textDocument/documentHighlight - (67)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":21,"character":88}}


[Trace - 20:18:58.879 PM] Sending request 'textDocument/documentSymbol - (68)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"}}


[Trace - 20:18:59.126 PM] Sending request 'textDocument/codeAction - (69)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":21,"character":88},"end":{"line":21,"character":88}},"context":{"diagnostics":[]}}


[Trace - 20:18:59.176 PM] Received response 'textDocument/documentHighlight - (67)' in 297ms.
Result: []


[Trace - 20:18:59.176 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:18:59 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:18:59.177 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/09 20:18:59 no highlight: getting file for Highlight: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 20:18:59.464 PM] Sending request 'textDocument/hover - (70)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":21,"character":87}}


[Trace - 20:18:59.514 PM] Sending notification '$/cancelRequest'.
Params: {"id":70}


[Trace - 20:18:59.515 PM] Received response 'textDocument/documentSymbol - (68)' in 635ms.
Result: []


[Trace - 20:18:59.515 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:18:59 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 20:18:59.515 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/09 20:18:59 DocumentSymbols failed: getting file for DocumentSymbols: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 20:18:59.515 PM] Received response 'textDocument/codeAction - (69)' in 389ms.
Result: [{"title":"Organize Imports","kind":"source.organizeImports","edit":{"documentChanges":[{"textDocument":{"version":1,"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"edits":[{"range":{"start":{"line":3,"character":1},"end":{"line":3,"character":1}},"newText":"\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\t"},{"range":{"start":{"line":3,"character":44},"end":{"line":6,"character":5}},"newText":""}]}]}}]


[Error - Received] 20:18:59.515 PM #70 JSON RPC cancelled


[Trace - 20:19:15.547 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:19:15 background imports cache refresh starting\n"}


[Trace - 20:19:15.557 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/09 20:19:15 background refresh finished after 10.796464ms\n"}

@gopherbot gopherbot added the gopls Issues related to the Go language server, gopls. label Jul 9, 2020
@gopherbot
Copy link

Thank you for filing a gopls issue! Please take a look at the Troubleshooting guide, and make sure that you have provided all of the relevant information here.

@stamblerre stamblerre changed the title gopls: ms-vscode + sidecar "Request failed: getting file for Identifier: no PackageHandles (0)." x/tools/gopls: not working with sidecar environment Jul 9, 2020
@gopherbot gopherbot added the Tools This label describes issues relating to any tools in the x/tools repository. label Jul 9, 2020
@gopherbot gopherbot added this to the Unreleased milestone Jul 9, 2020
@gopherbot
Copy link

Change https://golang.org/cl/241857 mentions this issue: internal/lsp/cmd: change -v flag to have log levels

@gattytto
Copy link
Author

I am using vscode-go nightly vsix, by the way.

@stamblerre stamblerre modified the milestones: Unreleased, gopls/v0.4.4 Jul 10, 2020
@stamblerre
Copy link
Contributor

It might be better to use the stable version of the extension just to make sure the experience is more consistent.
Once the patch linked above is merged, I will ask you to install gopls at master and try running the gopls check command again.

gopherbot pushed a commit to golang/tools that referenced this issue Jul 11, 2020
Add a higher log level for the command-line. This uses the verboseOutput
setting.

Updates golang/go#40139

Change-Id: I9b7edcda12b0431058c9cfe1413b7c5fc016c026
Reviewed-on: https://go-review.googlesource.com/c/tools/+/241857
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
@stamblerre
Copy link
Contributor

@gattytto: If you'd like to continue debugging, please install gopls at master (GO111MODULE=on go get golang.org/x/tools/gopls@master golang.org/x/tools@master) and run gopls -rpc.trace -vv check path/to/file.go.

@stamblerre stamblerre added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Jul 11, 2020
@gattytto
Copy link
Author

gattytto commented Jul 11, 2020

/projects/src/github.com/gattytto/gopos-backend $ gopls version
golang.org/x/tools/gopls master
    golang.org/x/tools/gopls@v0.0.0-20200711155855-7342f9734a7d h1:UBt5D6Jj+Rna3ULm+TqX/KVQp1nHRnRy1xT4z4qBudE=
/projects/src/github.com/gattytto/gopos-backend $ gopls -vv -rpc.trace check internal/gRPC/impl/inventarioServiceGrpcImpl.go 
2020/07/11 17:50:42 Info:2020/07/11 17:50:42 Build info
----------
golang.org/x/tools/gopls master
    golang.org/x/tools/gopls@v0.0.0-20200711155855-7342f9734a7d h1:UBt5D6Jj+Rna3ULm+TqX/KVQp1nHRnRy1xT4z4qBudE=
    github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
    github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
    golang.org/x/mod@v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=
    golang.org/x/sync@v0.0.0-20200625203802-6e8e738ad208 h1:qwRHBd0NqMbJxfbotnDhm2ByMI1Shq4Y6oRJo21SGJA=
    golang.org/x/tools@v0.0.0-20200711155855-7342f9734a7d h1:F3OmlXCzYtG9YE6tXDnUOlJBzVzHF8EcmZ1yTJlcgIk=
    golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
    honnef.co/go/tools@v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8=
    mvdan.cc/xurls/v2@v2.2.0 h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=

Go info
-------
go version devel +9699086043 Wed Jul 8 19:50:20 2020 +0000 linux/amd64


2020/07/11 17:50:42 Info:2020/07/11 17:50:42 go env for /projects/src/github.com/gattytto/gopos-backend
(valid build configuration = true)
(build flags: [])
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/.cache"
GOENV="/home/theia/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/go/pkg/mod"
GONOPROXY=""
GONOSUMDB="true"
GOOS="linux"
GOPATH="/go:/projects"
GOPRIVATE=""
GOPROXY="direct"
GOROOT="/usr/local/go"
GOSUMDB="off"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/projects/src/github.com/gattytto/gopos-backend/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build011820338=/tmp/go-build -gno-record-gcc-switches"
2020/07/11 17:53:04 Info:2020/07/11 17:53:04 2m22.430608353s for GOROOT=/usr/local/go GOPATH=/go:/projects GO111MODULE=on GOPROXY=direct PWD=/projects/src/github.com/gattytto/gopos-backend go [go list -modfile=/tmp/go.0056200e60327dba367b3e7ee1d4a57792113fa2.213554420.mod -e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/tmp/go.0056200e60327dba367b3e7ee1d4a57792113fa2.213554420.mod -- ./... builtin]
2020/07/11 17:53:04 Info:2020/07/11 17:53:04 go/packages.Load
        snapshot=0
        directory=/projects/src/github.com/gattytto/gopos-backend
        query=[./... builtin]
        packages=1
2020/07/11 17:53:04 Info:2020/07/11 17:53:04 go/packages.Load
        snapshot=0
        package_path="command-line-arguments"
        files=[]
2020/07/11 17:53:05 Info:2020/07/11 17:53:05 288.768221ms for GOROOT=/usr/local/go GOPATH=/go:/projects GO111MODULE=on GOPROXY=direct PWD=/projects/src/github.com/gattytto/gopos-backend go [go list -modfile=/tmp/go.0056200e60327dba367b3e7ee1d4a57792113fa2.549896941.mod -e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/tmp/go.0056200e60327dba367b3e7ee1d4a57792113fa2.549896941.mod -- /projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl]
2020/07/11 17:53:05 Info:2020/07/11 17:53:05 206.159839ms for GOROOT=/usr/local/go GOPATH=/go:/projects GO111MODULE=on GOPROXY=direct PWD=/projects/src/github.com/gattytto/gopos-backend go [go list -modfile=/tmp/go.0056200e60327dba367b3e7ee1d4a57792113fa2.549896941.mod -e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/tmp/go.0056200e60327dba367b3e7ee1d4a57792113fa2.549896941.mod -- /projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]
2020/07/11 17:53:05 Info:2020/07/11 17:53:05 go/packages.Load
        snapshot=1
        directory=/projects/src/github.com/gattytto/gopos-backend
        query=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]
        packages=0
2020/07/11 17:53:06 Info:2020/07/11 17:53:06 199.830555ms for GOROOT=/usr/local/go GOPATH=/go:/projects GO111MODULE=on GOPROXY=direct PWD=/projects/src/github.com/gattytto/gopos-backend go [go list -modfile=/tmp/go.0056200e60327dba367b3e7ee1d4a57792113fa2.198261159.mod -e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/tmp/go.0056200e60327dba367b3e7ee1d4a57792113fa2.198261159.mod -- /projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl]
2020/07/11 17:53:06 Info:2020/07/11 17:53:06 go/packages.Load
        snapshot=1
        directory=/projects/src/github.com/gattytto/gopos-backend
        query=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]
        packages=0
2020/07/11 17:53:06 Info:2020/07/11 17:53:06 205.351063ms for GOROOT=/usr/local/go GOPATH=/go:/projects GO111MODULE=on GOPROXY=direct PWD=/projects/src/github.com/gattytto/gopos-backend go [go list -modfile=/tmp/go.0056200e60327dba367b3e7ee1d4a57792113fa2.198261159.mod -e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/tmp/go.0056200e60327dba367b3e7ee1d4a57792113fa2.198261159.mod -- /projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]

@gattytto
Copy link
Author

here's an output of gopls from the extension, with argument to fill a log-file:

Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go","languageId":"go","version":1,"text":"package impl\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t. \"github.com/gattytto/libgopos_go/v1alpha1\"\n\t\"log\"\n)\n\n//InventarioServiceGrpcImpl is an implementation of ProductService gRPC Service\ntype InventarioServiceGrpcImpl struct {\n\n}\n\n//NewInventarioServiceGrpcImpl returns the pointer to the implementation.\nfunc NewInventarioServiceGrpcImpl() *InventarioServiceGrpcImpl {\n\treturn &InventarioServiceGrpcImpl{}\n}\n\n// CreateComprobante function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) CreateComprobante(ctx context.Context, in *CreateComprobanteRequest) (*CreateComprobanteResponse, error) {\n\tlog.Println(\"Received request for adding comprobante with id \" + fmt.Sprint(in.Comprobante.GetId()))\n\n\tlog.Println(\"Comprobante persisted to storage\")\n\n\treturn &CreateComprobanteResponse{\n\t\tCreatedComprobante: in.Comprobante,\n\t\tError:           nil,\n\t}, nil\n\n}\n\n// GetComprobante function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) GetComprobante(ctx context.Context, in *GetComprobanteRequest) (*GetComprobanteResponse, error) {\n\tlog.Println(\"Received request for getting Articulo with id \" + fmt.Sprint(in.Id))\n\t\n\t//Logic to persist to database or storage.\n\tlog.Println(\"Articulo returned\")\n\tvar prod Comprobante\n\tprod.Id = 20\n\treturn &GetComprobanteResponse{\n\t\tComprobante:\t&prod,\n\t\tError:\t\tnil,\n\t}, nil\n}\n\n// UpdateComprobante Method def\nfunc (serviceImpl *InventarioServiceGrpcImpl) UpdateComprobante(ctx context.Context, in *UpdateComprobanteRequest) (*UpdateComprobanteResponse, error){\n\tlog.Println(\"Received request for updating comprobante with id \" + fmt.Sprint(in.Comprobante.Id))\n\n\treturn &UpdateComprobanteResponse{\n\t\tUpdatedComprobante: in.Comprobante,\n\t\tError:           nil,\n\t}, nil\n}\n\n// DeleteComprobante function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) DeleteComprobante(ctx context.Context, in *DeleteComprobanteRequest) (*DeleteComprobanteResponse, error){\n\tlog.Println(\"Received request for deleting product with id \" + fmt.Sprint(in.Id))\n\n\tlog.Println(\"Comprobante was deleted\")\n\n\treturn &DeleteComprobanteResponse{\n\t\tError: nil,\n\t},nil\n\t\n}\n\n// CreateArticulo function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) CreateArticulo(ctx context.Context, in *CreateArticuloRequest) (*CreateArticuloResponse, error) {\n\tlog.Println(\"Received request for adding Articulo with id \" + fmt.Sprint(in.Articulo.GetId()))\n\n\tlog.Println(\"Articulo persisted to storage\")\n\n\treturn &CreateArticuloResponse{\n\t\tCreatedArticulo: in.Articulo,\n\t\tError:           nil,\n\t}, nil\n\n}\n\n// GetArticulo function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) GetArticulo(ctx context.Context, in *GetArticuloRequest) (*GetArticuloResponse, error) {\n\tlog.Println(\"Received request for getting Articulo with id \" + fmt.Sprint(in.Id))\n\t\n\t//Logic to persist to database or storage.\n\tlog.Println(\"Articulo returned\")\n\tvar prod Articulo\n\tprod.Id = 20\n\treturn &GetArticuloResponse{\n\t\tArticulo:\t&prod,\n\t\tError:\t\tnil,\n\t}, nil\n}\n\n// UpdateArticulo function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) UpdateArticulo(ctx context.Context, in *UpdateArticuloRequest) (*UpdateArticuloResponse, error){\n\tlog.Println(\"Received request for updating Articulo with id \" + fmt.Sprint(in.Articulo.Id))\n\n\treturn &UpdateArticuloResponse{\n\t\tUpdatedArticulo: in.Articulo,\n\t\tError:           nil,\n\t}, nil\n}\n\n// DeleteArticulo function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) DeleteArticulo(ctx context.Context, in *DeleteArticuloRequest) (*DeleteArticuloResponse, error){\n\tlog.Println(\"Received request for deleting product with id \" + fmt.Sprint(in.Id))\n\n\tlog.Println(\"Articulo was deleted\")\n\n\treturn &DeleteArticuloResponse{\n\t\tError: nil,\n\t},nil\n\n}\n\n// ListComprobantes function implementation of gRPC service\nfunc (serviceImpl *InventarioServiceGrpcImpl) ListComprobantes(req *ListComprobantesRequest, stream Inventario_ListComprobantesServer) error {\n\t/*for _, feature := range s.savedFeatures {\n\t\tif inRange(feature.Location, rect) {\n\t\t\tif err := stream.Send(feature); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t}\n\t}*/\n\t\n\treturn nil\n}\n\n// ListArticulos function implementation of gRPC service\nfunc (serviceImpl *InventarioServiceGrpcImpl) ListArticulos(req *ListArticulosRequest, stream Inventario_ListArticulosServer) error {\n\t/*for _, feature := range s.savedFeatures {\n\t\tif inRange(feature.Location, rect) {\n\t\t\tif err := stream.Send(feature); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t}\n\t}*/\n\t\n\treturn nil\n}\n\n// BulkPatchArticulos function implementation of gRPC service\nfunc (serviceImpl *InventarioServiceGrpcImpl) BulkPatchArticulos(stream Inventario_BulkPatchArticulosServer) error {\n\t/*for _, feature := range s.savedFeatures {\n\t\tif inRange(feature.Location, rect) {\n\t\t\tif err := stream.Send(feature); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t}\n\t}*/\n\t\n\treturn nil\n}\n\n// BulkPatchComprobantes function implementation of gRPC service\nfunc (serviceImpl *InventarioServiceGrpcImpl) BulkPatchComprobantes(stream Inventario_BulkPatchComprobantesServer) error {\n\t/*for _, feature := range s.savedFeatures {\n\t\tif inRange(feature.Location, rect) {\n\t\t\tif err := stream.Send(feature); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t}\n\t}*/\n\t\n\treturn nil\n}"}}


[Trace - 18:02:13.766 PM] Sending request 'textDocument/documentLink - (1)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"}}


[Trace - 18:02:13.767 PM] Sending request 'textDocument/codeAction - (2)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":0}},"context":{"diagnostics":[]}}


[Trace - 18:02:13.784 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/11 18:02:13 failed to load workspace packages, skipping diagnostics: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -- ./]: exit status 1: go: cannot find main module; see 'go help modules'\n\n\tsnapshot=1\n\tdirectory=file:///projects\n"}


[Trace - 18:02:13.784 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/11 18:02:13 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -- ./]: exit status 1: go: cannot find main module; see 'go help modules'\n\n\tsnapshot=1\n\tdirectory=/projects\n\tquery=[./]\n\tpackages=0\n"}


[Trace - 18:02:13.860 PM] Received response 'textDocument/documentLink - (1)' in 94ms.
Result: null


[Trace - 18:02:13.860 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/11 18:02:13 failed to compute document links: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 18:02:13.861 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:02:13 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 18:02:13.914 PM] Sending request 'textDocument/foldingRange - (3)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"}}


[Trace - 18:02:13.930 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:02:13 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Error - Received] 18:02:13.931 PM #2 no PackageHandles


[Trace - 18:02:13.931 PM] Received response 'textDocument/foldingRange - (3)' in 17ms.
Result: [{"startLine":2,"startCharacter":8,"endLine":6,"endCharacter":6,"kind":"imports"},{"startLine":15,"startCharacter":64,"endLine":16,"endCharacter":36},{"startLine":20,"startCharacter":152,"endLine":28,"endCharacter":7},{"startLine":25,"startCharacter":35,"endLine":27,"endCharacter":22},{"startLine":33,"startCharacter":143,"endLine":43,"endCharacter":7},{"startLine":40,"startCharacter":32,"endLine":42,"endCharacter":13},{"startLine":47,"startCharacter":151,"endLine":53,"endCharacter":7},{"startLine":50,"startCharacter":35,"endLine":52,"endCharacter":22},{"startLine":57,"startCharacter":151,"endLine":64,"endCharacter":6},{"startLine":62,"startCharacter":35,"endLine":63,"endCharacter":12},{"startLine":69,"startCharacter":143,"endLine":77,"endCharacter":7},{"startLine":74,"startCharacter":32,"endLine":76,"endCharacter":22},{"startLine":82,"startCharacter":134,"endLine":92,"endCharacter":7},{"startLine":89,"startCharacter":29,"endLine":91,"endCharacter":13},{"startLine":96,"startCharacter":142,"endLine":102,"endCharacter":7},{"startLine":99,"startCharacter":32,"endLine":101,"endCharacter":22},{"startLine":106,"startCharacter":142,"endLine":113,"endCharacter":6},{"startLine":111,"startCharacter":32,"endLine":112,"endCharacter":12},{"startLine":118,"startCharacter":142,"endLine":127,"endCharacter":11},{"startLine":131,"startCharacter":133,"endLine":140,"endCharacter":11},{"startLine":144,"startCharacter":116,"endLine":153,"endCharacter":11},{"startLine":157,"startCharacter":122,"endLine":166,"endCharacter":11}]


[Trace - 18:02:13.958 PM] Sending request 'textDocument/codeLens - (4)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"}}


[Trace - 18:02:13.958 PM] Received response 'textDocument/codeLens - (4)' in 0ms.
Result: null


[Trace - 18:02:43.862 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:02:43 background imports cache refresh starting\n"}


[Trace - 18:02:43.907 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:02:43 background refresh finished after 44.95181ms\n"}


[Trace - 18:04:03.632 PM] Sending notification 'textDocument/didOpen'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/cmd/gRPC/server/server.go","languageId":"go","version":1,"text":"package main\n\nimport (\n\t\"fmt\"\n\timpl \"github.com/gattytto/gopos-backend/internal/gRPC/impl\"\n\tinventario \"github.com/gattytto/libgopos_go/v1alpha1\"\n\t\"log\"\n\t\"net\"\n\n\tgrpc \"google.golang.org/grpc\"\n)\n\n//noinspection ALL\nfunc main() {\n\t//netListener := getNetListener(7000)\n\tvar unixListener = getUnixListener(\"/tmp/gopos_backend.sock\")\n\tvar gRPCServer = grpc.NewServer()\n\tvar inventarioServiceImpl = impl.NewInventarioServiceGrpcImpl()\n\tinventario.RegisterInventarioServer(gRPCServer, inventarioServiceImpl)\n\n\tif err := gRPCServer.Serve(unixListener); err != nil {\n\t\tlog.Fatalf(\"failed to serve socket: %s\", err)\n\t}\n\n}\n\nfunc getUnixListener(path string) net.Listener {\n\tlis, err := net.Listen(\"unix\", path)\n\tif err != nil {\n\t\tlog.Fatalf(\"failed to listen: %v\", err)\n\t\tpanic(fmt.Sprintf(\"failed to listen: %v\", err))\n\t}\n\treturn lis\n}\n\nfunc getNetListener(port uint) net.Listener {\n    lis, err := net.Listen(\"tcp\", fmt.Sprintf(\":%d\", port))\n    if err != nil {\n        log.Fatalf(\"failed to listen: %v\", err)\n        panic(fmt.Sprintf(\"failed to listen: %v\", err))\n    }\n\n    return lis\n}\n"}}


[Trace - 18:04:03.633 PM] Sending request 'textDocument/documentLink - (5)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/cmd/gRPC/server/server.go"}}


[Trace - 18:04:03.634 PM] Sending request 'textDocument/codeAction - (6)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/cmd/gRPC/server/server.go"},"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":0}},"context":{"diagnostics":[]}}


[Trace - 18:04:03.644 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/11 18:04:03 failed to load workspace packages, skipping diagnostics: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -- ./]: exit status 1: go: cannot find main module; see 'go help modules'\n\n\tsnapshot=2\n\tdirectory=file:///projects\n"}


[Trace - 18:04:03.644 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/11 18:04:03 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -- ./]: exit status 1: go: cannot find main module; see 'go help modules'\n\n\tsnapshot=2\n\tdirectory=/projects\n\tquery=[./]\n\tpackages=0\n"}


[Trace - 18:04:03.726 PM] Received response 'textDocument/documentLink - (5)' in 93ms.
Result: null


[Trace - 18:04:03.726 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:04:03 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/cmd/gRPC/server/server.go]\n\tpackages=0\n"}


[Trace - 18:04:03.726 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/11 18:04:03 failed to compute document links: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/cmd/gRPC/server/server.go\n"}


[Trace - 18:04:03.785 PM] Sending request 'textDocument/foldingRange - (7)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/cmd/gRPC/server/server.go"}}


[Trace - 18:04:03.826 PM] Sending request 'textDocument/codeLens - (8)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/cmd/gRPC/server/server.go"}}


[Error - Received] 18:04:03.832 PM #6 no PackageHandles


[Trace - 18:04:03.832 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:04:03 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/cmd/gRPC/server/server.go]\n\tpackages=0\n"}


[Trace - 18:04:03.832 PM] Received response 'textDocument/foldingRange - (7)' in 46ms.
Result: [{"startLine":2,"startCharacter":8,"endLine":9,"endCharacter":30,"kind":"imports"},{"startLine":13,"startCharacter":13,"endLine":22,"endCharacter":2},{"startLine":20,"startCharacter":55,"endLine":21,"endCharacter":47},{"startLine":26,"startCharacter":48,"endLine":32,"endCharacter":11},{"startLine":28,"startCharacter":16,"endLine":30,"endCharacter":49},{"startLine":35,"startCharacter":45,"endLine":42,"endCharacter":14},{"startLine":37,"startCharacter":19,"endLine":39,"endCharacter":55}]


[Trace - 18:04:03.832 PM] Received response 'textDocument/codeLens - (8)' in 6ms.
Result: null


[Trace - 18:04:19.030 PM] Sending request 'textDocument/hover - (9)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":25,"character":16}}


[Trace - 18:04:19.084 PM] Received response 'textDocument/hover - (9)' in 54ms.
Result: null


[Trace - 18:04:19.084 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:04:19 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 18:04:19.241 PM] Sending request 'textDocument/hover - (10)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":26,"character":13}}


[Trace - 18:04:19.281 PM] Sending notification '$/cancelRequest'.
Params: {"id":10}


[Error - Received] 18:04:19.282 PM #10 JSON RPC cancelled


[Trace - 18:04:27.222 PM] Sending request 'textDocument/hover - (11)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":27,"character":15}}


[Trace - 18:04:27.275 PM] Received response 'textDocument/hover - (11)' in 53ms.
Result: null


[Trace - 18:04:27.275 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:04:27 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 18:04:29.149 PM] Sending request 'textDocument/codeAction - (12)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":2,"character":8},"end":{"line":2,"character":8}},"context":{"diagnostics":[]}}


[Error - Received] 18:04:29.204 PM #12 no PackageHandles


[Trace - 18:04:29.204 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:04:29 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 18:04:33.727 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:04:33 background imports cache refresh starting\n"}


[Trace - 18:04:33.730 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:04:33 background refresh finished after 3.533687ms\n"}

@gattytto
Copy link
Author

here's a log file with the project folder added as a workspace folder (I guess this is needed for the extension no to look for go.mod in /projects):

�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������[Trace - 18:14:01.104 PM] Sending request 'textDocument/hover - (28)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":41,"character":12}}


[Trace - 18:14:01.157 PM] Sending notification '$/cancelRequest'.
Params: {"id":28}


[Error - Received] 18:14:01.159 PM #28 JSON RPC cancelled


[Trace - 18:14:01.406 PM] Sending request 'textDocument/hover - (29)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":41,"character":10}}


[Trace - 18:14:01.457 PM] Sending notification '$/cancelRequest'.
Params: {"id":29}


[Error - Received] 18:14:01.460 PM #29 JSON RPC cancelled


[Trace - 18:14:09.700 PM] Sending request 'textDocument/hover - (30)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":15}}


[Trace - 18:14:10.040 PM] Received response 'textDocument/hover - (30)' in 340ms.
Result: null


[Trace - 18:14:10.041 PM] Sending request 'textDocument/documentHighlight - (31)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":15}}


[Trace - 18:14:10.041 PM] Sending notification '$/cancelRequest'.
Params: {"id":30}


[Trace - 18:14:10.041 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:14:10 go/packages.Load\n\tsnapshot=0\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 18:14:10.282 PM] Sending request 'textDocument/codeAction - (32)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":38,"character":15},"end":{"line":38,"character":15}},"context":{"diagnostics":[]}}


[Trace - 18:14:10.346 PM] Received response 'textDocument/documentHighlight - (31)' in 305ms.
Result: []


[Trace - 18:14:10.346 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:14:10 go/packages.Load\n\tsnapshot=0\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 18:14:10.346 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/11 18:14:10 no highlight: getting file for Highlight: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 18:14:10.447 PM] Sending request 'textDocument/hover - (33)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":15}}


[Trace - 18:14:10.560 PM] Sending notification '$/cancelRequest'.
Params: {"id":33}


[Trace - 18:14:10.660 PM] Sending request 'textDocument/hover - (34)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":16}}


[Error - Received] 18:14:10.737 PM #32 no PackageHandles


[Trace - 18:14:10.737 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:14:10 go/packages.Load\n\tsnapshot=0\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Error - Received] 18:14:10.737 PM #33 JSON RPC cancelled


[Trace - 18:14:11.102 PM] Received response 'textDocument/hover - (34)' in 441ms.
Result: null


[Trace - 18:14:11.102 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:14:11 go/packages.Load\n\tsnapshot=0\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}

@gattytto
Copy link
Author

here's a log of reproduction in che.openshift.io :

[Info  - 6:38:00 PM] 2020/07/11 18:38:00 Build info
----------
golang.org/x/tools/gopls master
    golang.org/x/tools/gopls@v0.0.0-20200711155855-7342f9734a7d h1:UBt5D6Jj+Rna3ULm+TqX/KVQp1nHRnRy1xT4z4qBudE=
    github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
    github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
    golang.org/x/mod@v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=
    golang.org/x/sync@v0.0.0-20200625203802-6e8e738ad208 h1:qwRHBd0NqMbJxfbotnDhm2ByMI1Shq4Y6oRJo21SGJA=
    golang.org/x/tools@v0.0.0-20200711155855-7342f9734a7d h1:F3OmlXCzYtG9YE6tXDnUOlJBzVzHF8EcmZ1yTJlcgIk=
    golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
    honnef.co/go/tools@v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8=
    mvdan.cc/xurls/v2@v2.2.0 h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=

Go info
-------
go version devel +9699086043 Wed Jul 8 19:50:20 2020 +0000 linux/amd64



[Info  - 6:38:00 PM] 2020/07/11 18:38:00 go env for /projects/src/github.com/gattytto/gopos-backend
(valid build configuration = true)
(build flags: [])
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/.cache"
GOENV="/home/theia/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/go/pkg/mod"
GONOPROXY=""
GONOSUMDB="true"
GOOS="linux"
GOPATH="/go:/projects"
GOPRIVATE=""
GOPROXY="direct"
GOROOT="/usr/local/go"
GOSUMDB="off"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/projects/src/github.com/gattytto/gopos-backend/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build752016428=/tmp/go-build -gno-record-gcc-switches"


[Info  - 6:38:18 PM] 2020/07/11 18:38:18 go/packages.Load
	snapshot=0
	directory=/projects/src/github.com/gattytto/gopos-backend
	query=[./... builtin]
	packages=1

[Info  - 6:38:19 PM] 2020/07/11 18:38:19 go/packages.Load
	snapshot=1
	directory=/projects/src/github.com/gattytto/gopos-backend
	query=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]
	packages=0

[Error - 6:38:19 PM] 2020/07/11 18:38:19 failed to compute document links: no PackageHandles
	URI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go

[Info  - 6:38:19 PM] 2020/07/11 18:38:19 go/packages.Load
	snapshot=1
	directory=/projects/src/github.com/gattytto/gopos-backend
	query=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]
	packages=0

[Error - 6:38:19 PM] Request textDocument/codeAction failed.
  Message: no PackageHandles
  Code: 0 
[Info  - 6:38:19 PM] 2020/07/11 18:38:19 go/packages.Load
	snapshot=1
	directory=/projects/src/github.com/gattytto/gopos-backend
	query=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]
	packages=0

[Info  - 6:38:20 PM] 2020/07/11 18:38:20 go/packages.Load
	snapshot=1
	directory=/projects/src/github.com/gattytto/gopos-backend
	query=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]
	packages=0

[Info  - 6:38:49 PM] 2020/07/11 18:38:49 background imports cache refresh starting

[Info  - 6:38:50 PM] 2020/07/11 18:38:50 background refresh finished after 1.039298434s

@gattytto
Copy link
Author

as requested, this is the logs of a non-nightly version of the extension:

[Trace - 18:48:47.526 PM] Sending request 'initialize - (0)'.
Params: {"processId":1,"clientInfo":{"name":"vscode","version":"1.44.0"},"rootPath":"/projects/src/github.com/gattytto/gopos-backend","rootUri":"file:///projects/src/github.com/gattytto/gopos-backend","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]}},"executeCommand":{"dynamicRegistration":true},"configuration":true,"workspaceFolders":true},"textDocument":{"publishDiagnostics":{"relatedInformation":true,"versionSupport":false,"tagSupport":{"valueSet":[1,2]}},"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"contextSupport":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"preselectSupport":true,"tagSupport":{"valueSet":[1]}},"completionItemKind":{"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]}},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}},"contextSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"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]},"hierarchicalDocumentSymbolSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"codeLens":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"colorProvider":{"dynamicRegistration":true},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"selectionRange":{"dynamicRegistration":true}},"window":{"workDoneProgress":true}},"initializationOptions":{},"trace":"off","workspaceFolders":[{"uri":"file:///projects/src/github.com/gattytto/gopos-backend","name":"gopos-backend"}]}


[Trace - 18:48:47.535 PM] Received response 'initialize - (0)' in 9ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor.extract","refactor.rewrite","source.fixAll","source.organizeImports"]},"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":""},"renameProvider":{"prepareProvider":true},"foldingRangeProvider":true,"executeCommandProvider":{"commands":["test","tidy","upgrade_dependency","generate","regenerate_cgo"]},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"Build info\n----------\ngolang.org/x/tools/gopls master\n    golang.org/x/tools/gopls@v0.0.0-20200711155855-7342f9734a7d h1:UBt5D6Jj+Rna3ULm+TqX/KVQp1nHRnRy1xT4z4qBudE=\n    github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=\n    github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=\n    golang.org/x/mod@v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=\n    golang.org/x/sync@v0.0.0-20200625203802-6e8e738ad208 h1:qwRHBd0NqMbJxfbotnDhm2ByMI1Shq4Y6oRJo21SGJA=\n    golang.org/x/tools@v0.0.0-20200711155855-7342f9734a7d h1:F3OmlXCzYtG9YE6tXDnUOlJBzVzHF8EcmZ1yTJlcgIk=\n    golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=\n    honnef.co/go/tools@v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8=\n    mvdan.cc/xurls/v2@v2.2.0 h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=\n\nGo info\n-------\ngo version devel +9699086043 Wed Jul 8 19:50:20 2020 +0000 linux/amd64\n\n"}}


[Trace - 18:48:47.538 PM] Sending notification 'initialized'.
Params: {}


[Trace - 18:48:47.551 PM] Received request 'workspace/configuration - (1)'.
Params: {"items":[{"scopeUri":"file:///projects/src/github.com/gattytto/gopos-backend","section":"gopls"},{"scopeUri":"file:///projects/src/github.com/gattytto/gopos-backend","section":"gopls-gopos-backend"}]}


[Trace - 18:48:47.551 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:48:47 Build info\n----------\ngolang.org/x/tools/gopls master\n    golang.org/x/tools/gopls@v0.0.0-20200711155855-7342f9734a7d h1:UBt5D6Jj+Rna3ULm+TqX/KVQp1nHRnRy1xT4z4qBudE=\n    github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=\n    github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=\n    golang.org/x/mod@v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=\n    golang.org/x/sync@v0.0.0-20200625203802-6e8e738ad208 h1:qwRHBd0NqMbJxfbotnDhm2ByMI1Shq4Y6oRJo21SGJA=\n    golang.org/x/tools@v0.0.0-20200711155855-7342f9734a7d h1:F3OmlXCzYtG9YE6tXDnUOlJBzVzHF8EcmZ1yTJlcgIk=\n    golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=\n    honnef.co/go/tools@v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8=\n    mvdan.cc/xurls/v2@v2.2.0 h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=\n\nGo info\n-------\ngo version devel +9699086043 Wed Jul 8 19:50:20 2020 +0000 linux/amd64\n\n\n"}


[Trace - 18:48:47.555 PM] Sending response 'workspace/configuration - (1)' in 4ms.
Result: [null,null]


[Trace - 18:48:47.629 PM] Received request 'client/registerCapability - (2)'.
Params: {"registrations":[{"id":"workspace/didChangeConfiguration","method":"workspace/didChangeConfiguration"},{"id":"workspace/didChangeWorkspaceFolders","method":"workspace/didChangeWorkspaceFolders"},{"id":"workspace/didChangeWatchedFiles","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"/projects/src/github.com/gattytto/gopos-backend/**.go","kind":7}]}}]}


[Trace - 18:48:47.631 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:48:47 go env for /projects/src/github.com/gattytto/gopos-backend\n(valid build configuration = true)\n(build flags: [])\nGO111MODULE=\"on\"\nGOARCH=\"amd64\"\nGOBIN=\"\"\nGOCACHE=\"/.cache\"\nGOENV=\"/home/theia/.config/go/env\"\nGOEXE=\"\"\nGOFLAGS=\"\"\nGOHOSTARCH=\"amd64\"\nGOHOSTOS=\"linux\"\nGOINSECURE=\"\"\nGOMODCACHE=\"/go/pkg/mod\"\nGONOPROXY=\"\"\nGONOSUMDB=\"true\"\nGOOS=\"linux\"\nGOPATH=\"/go:/projects\"\nGOPRIVATE=\"\"\nGOPROXY=\"direct\"\nGOROOT=\"/usr/local/go\"\nGOSUMDB=\"off\"\nGOTMPDIR=\"\"\nGOTOOLDIR=\"/usr/local/go/pkg/tool/linux_amd64\"\nGCCGO=\"gccgo\"\nAR=\"ar\"\nCC=\"gcc\"\nCXX=\"g++\"\nCGO_ENABLED=\"1\"\nGOMOD=\"/projects/src/github.com/gattytto/gopos-backend/go.mod\"\nCGO_CFLAGS=\"-g -O2\"\nCGO_CPPFLAGS=\"\"\nCGO_CXXFLAGS=\"-g -O2\"\nCGO_FFLAGS=\"-g -O2\"\nCGO_LDFLAGS=\"-g -O2\"\nPKG_CONFIG=\"pkg-config\"\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build625831874=/tmp/go-build -gno-record-gcc-switches\"\n\n"}


[Trace - 18:48:47.633 PM] Sending response 'client/registerCapability - (2)' in 3ms.
Result: 


[Trace - 18:49:06.487 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:49:06 go/packages.Load\n\tsnapshot=0\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[./... builtin]\n\tpackages=1\n"}


[Trace - 18:49:13.747 PM] Sending notification 'textDocument/didOpen'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go","languageId":"go","version":1,"text":"package impl\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t. \"github.com/gattytto/libgopos_go/v1alpha1\"\n\t\"log\"\n)\n\n//InventarioServiceGrpcImpl is an implementation of ProductService gRPC Service\ntype InventarioServiceGrpcImpl struct {\n\n}\n\n//NewInventarioServiceGrpcImpl returns the pointer to the implementation.\nfunc NewInventarioServiceGrpcImpl() *InventarioServiceGrpcImpl {\n\treturn &InventarioServiceGrpcImpl{}\n}\n\n// CreateComprobante function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) CreateComprobante(ctx context.Context, in *CreateComprobanteRequest) (*CreateComprobanteResponse, error) {\n\tlog.Println(\"Received request for adding comprobante with id \" + fmt.Sprint(in.Comprobante.GetId()))\n\n\tlog.Println(\"Comprobante persisted to storage\")\n\n\treturn &CreateComprobanteResponse{\n\t\tCreatedComprobante: in.Comprobante,\n\t\tError:           nil,\n\t}, nil\n\n}\n\n// GetComprobante function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) GetComprobante(ctx context.Context, in *GetComprobanteRequest) (*GetComprobanteResponse, error) {\n\tlog.Println(\"Received request for getting Articulo with id \" + fmt.Sprint(in.Id))\n\t\n\t//Logic to persist to database or storage.\n\tlog.Println(\"Articulo returned\")\n\tvar prod Comprobante\n\tprod.Id = 20\n\treturn &GetComprobanteResponse{\n\t\tComprobante:\t&prod,\n\t\tError:\t\tnil,\n\t}, nil\n}\n\n// UpdateComprobante Method def\nfunc (serviceImpl *InventarioServiceGrpcImpl) UpdateComprobante(ctx context.Context, in *UpdateComprobanteRequest) (*UpdateComprobanteResponse, error){\n\tlog.Println(\"Received request for updating comprobante with id \" + fmt.Sprint(in.Comprobante.Id))\n\n\treturn &UpdateComprobanteResponse{\n\t\tUpdatedComprobante: in.Comprobante,\n\t\tError:           nil,\n\t}, nil\n}\n\n// DeleteComprobante function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) DeleteComprobante(ctx context.Context, in *DeleteComprobanteRequest) (*DeleteComprobanteResponse, error){\n\tlog.Println(\"Received request for deleting product with id \" + fmt.Sprint(in.Id))\n\n\tlog.Println(\"Comprobante was deleted\")\n\n\treturn &DeleteComprobanteResponse{\n\t\tError: nil,\n\t},nil\n\t\n}\n\n// CreateArticulo function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) CreateArticulo(ctx context.Context, in *CreateArticuloRequest) (*CreateArticuloResponse, error) {\n\tlog.Println(\"Received request for adding Articulo with id \" + fmt.Sprint(in.Articulo.GetId()))\n\n\tlog.Println(\"Articulo persisted to storage\")\n\n\treturn &CreateArticuloResponse{\n\t\tCreatedArticulo: in.Articulo,\n\t\tError:           nil,\n\t}, nil\n\n}\n\n// GetArticulo function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) GetArticulo(ctx context.Context, in *GetArticuloRequest) (*GetArticuloResponse, error) {\n\tlog.Println(\"Received request for getting Articulo with id \" + fmt.Sprint(in.Id))\n\t\n\t//Logic to persist to database or storage.\n\tlog.Println(\"Articulo returned\")\n\tvar prod Articulo\n\tprod.Id = 20\n\treturn &GetArticuloResponse{\n\t\tArticulo:\t&prod,\n\t\tError:\t\tnil,\n\t}, nil\n}\n\n// UpdateArticulo function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) UpdateArticulo(ctx context.Context, in *UpdateArticuloRequest) (*UpdateArticuloResponse, error){\n\tlog.Println(\"Received request for updating Articulo with id \" + fmt.Sprint(in.Articulo.Id))\n\n\treturn &UpdateArticuloResponse{\n\t\tUpdatedArticulo: in.Articulo,\n\t\tError:           nil,\n\t}, nil\n}\n\n// DeleteArticulo function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) DeleteArticulo(ctx context.Context, in *DeleteArticuloRequest) (*DeleteArticuloResponse, error){\n\tlog.Println(\"Received request for deleting product with id \" + fmt.Sprint(in.Id))\n\n\tlog.Println(\"Articulo was deleted\")\n\n\treturn &DeleteArticuloResponse{\n\t\tError: nil,\n\t},nil\n\n}\n\n// ListComprobantes function implementation of gRPC service\nfunc (serviceImpl *InventarioServiceGrpcImpl) ListComprobantes(req *ListComprobantesRequest, stream Inventario_ListComprobantesServer) error {\n\t/*for _, feature := range s.savedFeatures {\n\t\tif inRange(feature.Location, rect) {\n\t\t\tif err := stream.Send(feature); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t}\n\t}*/\n\t\n\treturn nil\n}\n\n// ListArticulos function implementation of gRPC service\nfunc (serviceImpl *InventarioServiceGrpcImpl) ListArticulos(req *ListArticulosRequest, stream Inventario_ListArticulosServer) error {\n\t/*for _, feature := range s.savedFeatures {\n\t\tif inRange(feature.Location, rect) {\n\t\t\tif err := stream.Send(feature); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t}\n\t}*/\n\t\n\treturn nil\n}\n\n// BulkPatchArticulos function implementation of gRPC service\nfunc (serviceImpl *InventarioServiceGrpcImpl) BulkPatchArticulos(stream Inventario_BulkPatchArticulosServer) error {\n\t/*for _, feature := range s.savedFeatures {\n\t\tif inRange(feature.Location, rect) {\n\t\t\tif err := stream.Send(feature); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t}\n\t}*/\n\t\n\treturn nil\n}\n\n// BulkPatchComprobantes function implementation of gRPC service\nfunc (serviceImpl *InventarioServiceGrpcImpl) BulkPatchComprobantes(stream Inventario_BulkPatchComprobantesServer) error {\n\t/*for _, feature := range s.savedFeatures {\n\t\tif inRange(feature.Location, rect) {\n\t\t\tif err := stream.Send(feature); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t}\n\t}*/\n\t\n\treturn nil\n}"}}


[Trace - 18:49:13.756 PM] Sending request 'textDocument/documentLink - (1)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"}}


[Trace - 18:49:13.757 PM] Sending request 'textDocument/codeAction - (2)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":0}},"context":{"diagnostics":[]}}


[Trace - 18:49:13.924 PM] Sending request 'textDocument/foldingRange - (3)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"}}


[Trace - 18:49:13.975 PM] Sending request 'textDocument/codeLens - (4)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"}}


[Trace - 18:49:14.387 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:49:14 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 18:49:14.388 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/11 18:49:14 failed to compute document links: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 18:49:14.390 PM] Received response 'textDocument/documentLink - (1)' in 633ms.
Result: null


[Trace - 18:49:14.410 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:49:14 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Error - Received] 18:49:15.085 PM #2 no PackageHandles


[Trace - 18:49:15.090 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:49:15 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 18:49:15.093 PM] Received response 'textDocument/foldingRange - (3)' in 1169ms.
Result: [{"startLine":2,"startCharacter":8,"endLine":6,"endCharacter":6,"kind":"imports"},{"startLine":15,"startCharacter":64,"endLine":16,"endCharacter":36},{"startLine":20,"startCharacter":152,"endLine":28,"endCharacter":7},{"startLine":25,"startCharacter":35,"endLine":27,"endCharacter":22},{"startLine":33,"startCharacter":143,"endLine":43,"endCharacter":7},{"startLine":40,"startCharacter":32,"endLine":42,"endCharacter":13},{"startLine":47,"startCharacter":151,"endLine":53,"endCharacter":7},{"startLine":50,"startCharacter":35,"endLine":52,"endCharacter":22},{"startLine":57,"startCharacter":151,"endLine":64,"endCharacter":6},{"startLine":62,"startCharacter":35,"endLine":63,"endCharacter":12},{"startLine":69,"startCharacter":143,"endLine":77,"endCharacter":7},{"startLine":74,"startCharacter":32,"endLine":76,"endCharacter":22},{"startLine":82,"startCharacter":134,"endLine":92,"endCharacter":7},{"startLine":89,"startCharacter":29,"endLine":91,"endCharacter":13},{"startLine":96,"startCharacter":142,"endLine":102,"endCharacter":7},{"startLine":99,"startCharacter":32,"endLine":101,"endCharacter":22},{"startLine":106,"startCharacter":142,"endLine":113,"endCharacter":6},{"startLine":111,"startCharacter":32,"endLine":112,"endCharacter":12},{"startLine":118,"startCharacter":142,"endLine":127,"endCharacter":11},{"startLine":131,"startCharacter":133,"endLine":140,"endCharacter":11},{"startLine":144,"startCharacter":116,"endLine":153,"endCharacter":11},{"startLine":157,"startCharacter":122,"endLine":166,"endCharacter":11}]


[Trace - 18:49:15.097 PM] Received response 'textDocument/codeLens - (4)' in 1121ms.
Result: null


[Trace - 18:49:15.581 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:49:15 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 18:49:17.774 PM] Sending request 'textDocument/hover - (5)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":16,"character":8}}


[Trace - 18:49:17.826 PM] Sending notification '$/cancelRequest'.
Params: {"id":5}


[Error - Received] 18:49:17.833 PM #5 JSON RPC cancelled


[Trace - 18:49:18.069 PM] Sending request 'textDocument/hover - (6)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":15,"character":14}}


[Trace - 18:49:18.316 PM] Sending notification '$/cancelRequest'.
Params: {"id":6}


[Error - Received] 18:49:18.322 PM #6 JSON RPC cancelled


[Trace - 18:49:34.013 PM] Sending request 'textDocument/hover - (7)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":25,"character":16}}


[Trace - 18:49:34.308 PM] Sending notification '$/cancelRequest'.
Params: {"id":7}


[Error - Received] 18:49:34.311 PM #7 JSON RPC cancelled


[Trace - 18:49:35.159 PM] Sending request 'textDocument/hover - (8)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":36,"character":16}}


[Trace - 18:49:35.214 PM] Sending notification '$/cancelRequest'.
Params: {"id":8}


[Error - Received] 18:49:35.235 PM #8 JSON RPC cancelled


[Trace - 18:49:35.459 PM] Sending request 'textDocument/hover - (9)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":37,"character":18}}


[Trace - 18:49:35.629 PM] Sending notification '$/cancelRequest'.
Params: {"id":9}


[Error - Received] 18:49:35.638 PM #9 JSON RPC cancelled


[Trace - 18:49:35.761 PM] Sending request 'textDocument/hover - (10)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":18}}


[Trace - 18:49:36.404 PM] Received response 'textDocument/hover - (10)' in 642ms.
Result: null


[Trace - 18:49:36.404 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:49:36 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 18:49:36.819 PM] Sending request 'textDocument/documentHighlight - (11)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":19}}


[Trace - 18:49:37.052 PM] Sending request 'textDocument/codeAction - (12)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":38,"character":19},"end":{"line":38,"character":19}},"context":{"diagnostics":[]}}


[Trace - 18:49:37.379 PM] Received response 'textDocument/documentHighlight - (11)' in 559ms.
Result: []


[Trace - 18:49:37.382 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:49:37 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 18:49:37.384 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/11 18:49:37 no highlight: getting file for Highlight: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 18:49:37.698 PM] Sending request 'textDocument/hover - (13)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":18}}


[Error - Received] 18:49:37.954 PM #12 no PackageHandles


[Trace - 18:49:37.954 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:49:37 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 18:49:38.418 PM] Received response 'textDocument/hover - (13)' in 720ms.
Result: null


[Trace - 18:49:38.419 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:49:38 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 18:49:40.045 PM] Sending request 'textDocument/hover - (14)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":17}}


[Trace - 18:49:40.493 PM] Received response 'textDocument/hover - (14)' in 448ms.
Result: null


[Trace - 18:49:40.493 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:49:40 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 18:49:41.305 PM] Sending request 'textDocument/hover - (15)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":19}}


[Trace - 18:49:41.789 PM] Received response 'textDocument/hover - (15)' in 484ms.
Result: null


[Trace - 18:49:41.790 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:49:41 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 18:49:43.185 PM] Sending request 'textDocument/hover - (16)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":17}}


[Trace - 18:49:43.653 PM] Received response 'textDocument/hover - (16)' in 467ms.
Result: null


[Trace - 18:49:43.653 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:49:43 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 18:49:44.163 PM] Sending request 'textDocument/hover - (17)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":17}}


[Trace - 18:49:44.392 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:49:44 background imports cache refresh starting\n"}


[Trace - 18:49:44.670 PM] Received response 'textDocument/hover - (17)' in 507ms.
Result: null


[Trace - 18:49:44.672 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:49:44 go/packages.Load\n\tsnapshot=1\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 18:49:45.293 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 18:49:45 background refresh finished after 901.62544ms\n"}


[Trace - 18:49:57.412 PM] Sending request 'textDocument/hover - (18)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":46,"character":24}}


[Trace - 18:49:57.449 PM] Sending notification '$/cancelRequest'.
Params: {"id":18}


[Error - Received] 18:49:57.460 PM #18 JSON RPC cancelled

@gattytto
Copy link
Author

and here is 0.15.1 vsix logs:

[Trace - 19:07:12.457 PM] Sending request 'initialize - (0)'.
Params: {"processId":1,"clientInfo":{"name":"vscode","version":"1.44.0"},"rootPath":"/projects/src/github.com/gattytto/gopos-backend","rootUri":"file:///projects/src/github.com/gattytto/gopos-backend","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]}},"executeCommand":{"dynamicRegistration":true},"configuration":true,"workspaceFolders":true},"textDocument":{"publishDiagnostics":{"relatedInformation":true,"versionSupport":false,"tagSupport":{"valueSet":[1,2]}},"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"contextSupport":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"preselectSupport":true,"tagSupport":{"valueSet":[1]}},"completionItemKind":{"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]}},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}},"contextSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"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]},"hierarchicalDocumentSymbolSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"codeLens":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"colorProvider":{"dynamicRegistration":true},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"selectionRange":{"dynamicRegistration":true}},"window":{"workDoneProgress":true}},"initializationOptions":{},"trace":"off","workspaceFolders":[{"uri":"file:///projects/src/github.com/gattytto/gopos-backend","name":"gopos-backend"}]}


[Trace - 19:07:12.466 PM] Received response 'initialize - (0)' in 8ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor.extract","refactor.rewrite","source.fixAll","source.organizeImports"]},"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":""},"renameProvider":{"prepareProvider":true},"foldingRangeProvider":true,"executeCommandProvider":{"commands":["test","tidy","upgrade_dependency","generate","regenerate_cgo"]},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"Build info\n----------\ngolang.org/x/tools/gopls master\n    golang.org/x/tools/gopls@v0.0.0-20200711155855-7342f9734a7d h1:UBt5D6Jj+Rna3ULm+TqX/KVQp1nHRnRy1xT4z4qBudE=\n    github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=\n    github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=\n    golang.org/x/mod@v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=\n    golang.org/x/sync@v0.0.0-20200625203802-6e8e738ad208 h1:qwRHBd0NqMbJxfbotnDhm2ByMI1Shq4Y6oRJo21SGJA=\n    golang.org/x/tools@v0.0.0-20200711155855-7342f9734a7d h1:F3OmlXCzYtG9YE6tXDnUOlJBzVzHF8EcmZ1yTJlcgIk=\n    golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=\n    honnef.co/go/tools@v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8=\n    mvdan.cc/xurls/v2@v2.2.0 h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=\n\nGo info\n-------\ngo version devel +9699086043 Wed Jul 8 19:50:20 2020 +0000 linux/amd64\n\n"}}


[Trace - 19:07:12.476 PM] Sending notification 'initialized'.
Params: {}


[Trace - 19:07:12.477 PM] Sending notification 'textDocument/didOpen'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go","languageId":"go","version":1,"text":"package impl\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t. \"github.com/gattytto/libgopos_go/v1alpha1\"\n\t\"log\"\n)\n\n//InventarioServiceGrpcImpl is an implementation of ProductService gRPC Service\ntype InventarioServiceGrpcImpl struct {\n\n}\n\n//NewInventarioServiceGrpcImpl returns the pointer to the implementation.\nfunc NewInventarioServiceGrpcImpl() *InventarioServiceGrpcImpl {\n\treturn &InventarioServiceGrpcImpl{}\n}\n\n// CreateComprobante function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) CreateComprobante(ctx context.Context, in *CreateComprobanteRequest) (*CreateComprobanteResponse, error) {\n\tlog.Println(\"Received request for adding comprobante with id \" + fmt.Sprint(in.Comprobante.GetId()))\n\n\tlog.Println(\"Comprobante persisted to storage\")\n\n\treturn &CreateComprobanteResponse{\n\t\tCreatedComprobante: in.Comprobante,\n\t\tError:           nil,\n\t}, nil\n\n}\n\n// GetComprobante function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) GetComprobante(ctx context.Context, in *GetComprobanteRequest) (*GetComprobanteResponse, error) {\n\tlog.Println(\"Received request for getting Articulo with id \" + fmt.Sprint(in.Id))\n\t\n\t//Logic to persist to database or storage.\n\tlog.Println(\"Articulo returned\")\n\tvar prod Comprobante\n\tprod.Id = 20\n\treturn &GetComprobanteResponse{\n\t\tComprobante:\t&prod,\n\t\tError:\t\tnil,\n\t}, nil\n}\n\n// UpdateComprobante Method def\nfunc (serviceImpl *InventarioServiceGrpcImpl) UpdateComprobante(ctx context.Context, in *UpdateComprobanteRequest) (*UpdateComprobanteResponse, error){\n\tlog.Println(\"Received request for updating comprobante with id \" + fmt.Sprint(in.Comprobante.Id))\n\n\treturn &UpdateComprobanteResponse{\n\t\tUpdatedComprobante: in.Comprobante,\n\t\tError:           nil,\n\t}, nil\n}\n\n// DeleteComprobante function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) DeleteComprobante(ctx context.Context, in *DeleteComprobanteRequest) (*DeleteComprobanteResponse, error){\n\tlog.Println(\"Received request for deleting product with id \" + fmt.Sprint(in.Id))\n\n\tlog.Println(\"Comprobante was deleted\")\n\n\treturn &DeleteComprobanteResponse{\n\t\tError: nil,\n\t},nil\n\t\n}\n\n// CreateArticulo function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) CreateArticulo(ctx context.Context, in *CreateArticuloRequest) (*CreateArticuloResponse, error) {\n\tlog.Println(\"Received request for adding Articulo with id \" + fmt.Sprint(in.Articulo.GetId()))\n\n\tlog.Println(\"Articulo persisted to storage\")\n\n\treturn &CreateArticuloResponse{\n\t\tCreatedArticulo: in.Articulo,\n\t\tError:           nil,\n\t}, nil\n\n}\n\n// GetArticulo function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) GetArticulo(ctx context.Context, in *GetArticuloRequest) (*GetArticuloResponse, error) {\n\tlog.Println(\"Received request for getting Articulo with id \" + fmt.Sprint(in.Id))\n\t\n\t//Logic to persist to database or storage.\n\tlog.Println(\"Articulo returned\")\n\tvar prod Articulo\n\tprod.Id = 20\n\treturn &GetArticuloResponse{\n\t\tArticulo:\t&prod,\n\t\tError:\t\tnil,\n\t}, nil\n}\n\n// UpdateArticulo function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) UpdateArticulo(ctx context.Context, in *UpdateArticuloRequest) (*UpdateArticuloResponse, error){\n\tlog.Println(\"Received request for updating Articulo with id \" + fmt.Sprint(in.Articulo.Id))\n\n\treturn &UpdateArticuloResponse{\n\t\tUpdatedArticulo: in.Articulo,\n\t\tError:           nil,\n\t}, nil\n}\n\n// DeleteArticulo function implementation of gRPC Service\nfunc (serviceImpl *InventarioServiceGrpcImpl) DeleteArticulo(ctx context.Context, in *DeleteArticuloRequest) (*DeleteArticuloResponse, error){\n\tlog.Println(\"Received request for deleting product with id \" + fmt.Sprint(in.Id))\n\n\tlog.Println(\"Articulo was deleted\")\n\n\treturn &DeleteArticuloResponse{\n\t\tError: nil,\n\t},nil\n\n}\n\n// ListComprobantes function implementation of gRPC service\nfunc (serviceImpl *InventarioServiceGrpcImpl) ListComprobantes(req *ListComprobantesRequest, stream Inventario_ListComprobantesServer) error {\n\t/*for _, feature := range s.savedFeatures {\n\t\tif inRange(feature.Location, rect) {\n\t\t\tif err := stream.Send(feature); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t}\n\t}*/\n\t\n\treturn nil\n}\n\n// ListArticulos function implementation of gRPC service\nfunc (serviceImpl *InventarioServiceGrpcImpl) ListArticulos(req *ListArticulosRequest, stream Inventario_ListArticulosServer) error {\n\t/*for _, feature := range s.savedFeatures {\n\t\tif inRange(feature.Location, rect) {\n\t\t\tif err := stream.Send(feature); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t}\n\t}*/\n\t\n\treturn nil\n}\n\n// BulkPatchArticulos function implementation of gRPC service\nfunc (serviceImpl *InventarioServiceGrpcImpl) BulkPatchArticulos(stream Inventario_BulkPatchArticulosServer) error {\n\t/*for _, feature := range s.savedFeatures {\n\t\tif inRange(feature.Location, rect) {\n\t\t\tif err := stream.Send(feature); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t}\n\t}*/\n\t\n\treturn nil\n}\n\n// BulkPatchComprobantes function implementation of gRPC service\nfunc (serviceImpl *InventarioServiceGrpcImpl) BulkPatchComprobantes(stream Inventario_BulkPatchComprobantesServer) error {\n\t/*for _, feature := range s.savedFeatures {\n\t\tif inRange(feature.Location, rect) {\n\t\t\tif err := stream.Send(feature); err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\t\t}\n\t}*/\n\t\n\treturn nil\n}"}}


[Trace - 19:07:12.477 PM] Sending notification 'textDocument/didOpen'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/cmd/gRPC/server/server.go","languageId":"go","version":1,"text":"package main\n\nimport (\n\t\"fmt\"\n\timpl \"github.com/gattytto/gopos-backend/internal/gRPC/impl\"\n\tinventario \"github.com/gattytto/libgopos_go/v1alpha1\"\n\t\"log\"\n\t\"net\"\n\n\tgrpc \"google.golang.org/grpc\"\n)\n\n//noinspection ALL\nfunc main() {\n\t//netListener := getNetListener(7000)\n\tvar unixListener = getUnixListener(\"/tmp/gopos_backend.sock\")\n\tvar gRPCServer = grpc.NewServer()\n\tvar inventarioServiceImpl = impl.NewInventarioServiceGrpcImpl()\n\tinventario.RegisterInventarioServer(gRPCServer, inventarioServiceImpl)\n\n\tif err := gRPCServer.Serve(unixListener); err != nil {\n\t\tlog.Fatalf(\"failed to serve socket: %s\", err)\n\t}\n\n}\n\nfunc getUnixListener(path string) net.Listener {\n\tlis, err := net.Listen(\"unix\", path)\n\tif err != nil {\n\t\tlog.Fatalf(\"failed to listen: %v\", err)\n\t\tpanic(fmt.Sprintf(\"failed to listen: %v\", err))\n\t}\n\treturn lis\n}\n\nfunc getNetListener(port uint) net.Listener {\n    lis, err := net.Listen(\"tcp\", fmt.Sprintf(\":%d\", port))\n    if err != nil {\n        log.Fatalf(\"failed to listen: %v\", err)\n        panic(fmt.Sprintf(\"failed to listen: %v\", err))\n    }\n\n    return lis\n}\n"}}


[Trace - 19:07:12.487 PM] Received request 'workspace/configuration - (1)'.
Params: {"items":[{"scopeUri":"file:///projects/src/github.com/gattytto/gopos-backend","section":"gopls"},{"scopeUri":"file:///projects/src/github.com/gattytto/gopos-backend","section":"gopls-gopos-backend"}]}


[Trace - 19:07:12.487 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:12 Build info\n----------\ngolang.org/x/tools/gopls master\n    golang.org/x/tools/gopls@v0.0.0-20200711155855-7342f9734a7d h1:UBt5D6Jj+Rna3ULm+TqX/KVQp1nHRnRy1xT4z4qBudE=\n    github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=\n    github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=\n    golang.org/x/mod@v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=\n    golang.org/x/sync@v0.0.0-20200625203802-6e8e738ad208 h1:qwRHBd0NqMbJxfbotnDhm2ByMI1Shq4Y6oRJo21SGJA=\n    golang.org/x/tools@v0.0.0-20200711155855-7342f9734a7d h1:F3OmlXCzYtG9YE6tXDnUOlJBzVzHF8EcmZ1yTJlcgIk=\n    golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=\n    honnef.co/go/tools@v0.0.1-2020.1.4 h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8=\n    mvdan.cc/xurls/v2@v2.2.0 h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=\n\nGo info\n-------\ngo version devel +9699086043 Wed Jul 8 19:50:20 2020 +0000 linux/amd64\n\n\n"}


[Trace - 19:07:12.489 PM] Sending response 'workspace/configuration - (1)' in 2ms.
Result: [null,null]


[Trace - 19:07:12.539 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:12 go env for /projects/src/github.com/gattytto/gopos-backend\n(valid build configuration = true)\n(build flags: [])\nGO111MODULE=\"on\"\nGOARCH=\"amd64\"\nGOBIN=\"\"\nGOCACHE=\"/.cache\"\nGOENV=\"/home/theia/.config/go/env\"\nGOEXE=\"\"\nGOFLAGS=\"\"\nGOHOSTARCH=\"amd64\"\nGOHOSTOS=\"linux\"\nGOINSECURE=\"\"\nGOMODCACHE=\"/go/pkg/mod\"\nGONOPROXY=\"\"\nGONOSUMDB=\"true\"\nGOOS=\"linux\"\nGOPATH=\"/go:/projects\"\nGOPRIVATE=\"\"\nGOPROXY=\"direct\"\nGOROOT=\"/usr/local/go\"\nGOSUMDB=\"off\"\nGOTMPDIR=\"\"\nGOTOOLDIR=\"/usr/local/go/pkg/tool/linux_amd64\"\nGCCGO=\"gccgo\"\nAR=\"ar\"\nCC=\"gcc\"\nCXX=\"g++\"\nCGO_ENABLED=\"1\"\nGOMOD=\"/projects/src/github.com/gattytto/gopos-backend/go.mod\"\nCGO_CFLAGS=\"-g -O2\"\nCGO_CPPFLAGS=\"\"\nCGO_CXXFLAGS=\"-g -O2\"\nCGO_FFLAGS=\"-g -O2\"\nCGO_LDFLAGS=\"-g -O2\"\nPKG_CONFIG=\"pkg-config\"\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build280503661=/tmp/go-build -gno-record-gcc-switches\"\n\n"}


[Trace - 19:07:12.542 PM] Received request 'client/registerCapability - (2)'.
Params: {"registrations":[{"id":"workspace/didChangeConfiguration","method":"workspace/didChangeConfiguration"},{"id":"workspace/didChangeWorkspaceFolders","method":"workspace/didChangeWorkspaceFolders"},{"id":"workspace/didChangeWatchedFiles","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"/projects/src/github.com/gattytto/gopos-backend/**.go","kind":7}]}}]}


[Trace - 19:07:12.547 PM] Sending response 'client/registerCapability - (2)' in 4ms.
Result: 


[Trace - 19:07:12.749 PM] Sending request 'textDocument/codeAction - (1)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":38,"character":18},"end":{"line":38,"character":18}},"context":{"diagnostics":[]}}


[Trace - 19:07:12.749 PM] Sending request 'textDocument/codeAction - (2)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/cmd/gRPC/server/server.go"},"range":{"start":{"line":5,"character":6},"end":{"line":5,"character":6}},"context":{"diagnostics":[]}}


[Trace - 19:07:12.750 PM] Sending request 'textDocument/documentLink - (3)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"}}


[Trace - 19:07:12.750 PM] Sending request 'textDocument/documentLink - (4)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/cmd/gRPC/server/server.go"}}


[Trace - 19:07:12.778 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:12 go/packages.Load\n\tsnapshot=0\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[./... builtin]\n\tpackages=1\n"}


[Trace - 19:07:13.024 PM] Sending request 'textDocument/foldingRange - (5)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"}}


[Trace - 19:07:13.025 PM] Sending request 'textDocument/foldingRange - (6)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/cmd/gRPC/server/server.go"}}


[Trace - 19:07:13.029 PM] Sending request 'textDocument/codeLens - (7)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"}}


[Trace - 19:07:13.031 PM] Sending request 'textDocument/codeLens - (8)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/cmd/gRPC/server/server.go"}}


[Trace - 19:07:13.442 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:13 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Error - Received] 19:07:13.443 PM #1 no PackageHandles


[Trace - 19:07:13.631 PM] Sending notification '$/cancelRequest'.
Params: {"id":5}


[Trace - 19:07:13.632 PM] Sending notification '$/cancelRequest'.
Params: {"id":6}


[Trace - 19:07:13.831 PM] Sending request 'textDocument/foldingRange - (9)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"}}


[Trace - 19:07:13.838 PM] Sending request 'textDocument/foldingRange - (10)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/cmd/gRPC/server/server.go"}}


[Error - Received] 19:07:14.007 PM #2 no PackageHandles


[Trace - 19:07:14.008 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:14 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/cmd/gRPC/server/server.go]\n\tpackages=0\n"}


[Trace - 19:07:14.412 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:14 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/cmd/gRPC/server/server.go file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:07:14.702 PM] Received response 'textDocument/documentLink - (3)' in 1952ms.
Result: null


[Trace - 19:07:14.703 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:14 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:07:14.704 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/11 19:07:14 failed to compute document links: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Trace - 19:07:15.339 PM] Received response 'textDocument/documentLink - (4)' in 2589ms.
Result: null


[Trace - 19:07:15.341 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:15 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/cmd/gRPC/server/server.go]\n\tpackages=0\n"}


[Trace - 19:07:15.342 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/11 19:07:15 failed to compute document links: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/cmd/gRPC/server/server.go\n"}


[Error - Received] 19:07:15.343 PM #5 JSON RPC cancelled


[Error - Received] 19:07:15.343 PM #6 JSON RPC cancelled


[Trace - 19:07:15.344 PM] Received response 'textDocument/codeLens - (7)' in 2314ms.
Result: null


[Trace - 19:07:15.344 PM] Received response 'textDocument/codeLens - (8)' in 2312ms.
Result: null


[Trace - 19:07:15.344 PM] Received response 'textDocument/foldingRange - (9)' in 1513ms.
Result: [{"startLine":2,"startCharacter":8,"endLine":6,"endCharacter":6,"kind":"imports"},{"startLine":15,"startCharacter":64,"endLine":16,"endCharacter":36},{"startLine":20,"startCharacter":152,"endLine":28,"endCharacter":7},{"startLine":25,"startCharacter":35,"endLine":27,"endCharacter":22},{"startLine":33,"startCharacter":143,"endLine":43,"endCharacter":7},{"startLine":40,"startCharacter":32,"endLine":42,"endCharacter":13},{"startLine":47,"startCharacter":151,"endLine":53,"endCharacter":7},{"startLine":50,"startCharacter":35,"endLine":52,"endCharacter":22},{"startLine":57,"startCharacter":151,"endLine":64,"endCharacter":6},{"startLine":62,"startCharacter":35,"endLine":63,"endCharacter":12},{"startLine":69,"startCharacter":143,"endLine":77,"endCharacter":7},{"startLine":74,"startCharacter":32,"endLine":76,"endCharacter":22},{"startLine":82,"startCharacter":134,"endLine":92,"endCharacter":7},{"startLine":89,"startCharacter":29,"endLine":91,"endCharacter":13},{"startLine":96,"startCharacter":142,"endLine":102,"endCharacter":7},{"startLine":99,"startCharacter":32,"endLine":101,"endCharacter":22},{"startLine":106,"startCharacter":142,"endLine":113,"endCharacter":6},{"startLine":111,"startCharacter":32,"endLine":112,"endCharacter":12},{"startLine":118,"startCharacter":142,"endLine":127,"endCharacter":11},{"startLine":131,"startCharacter":133,"endLine":140,"endCharacter":11},{"startLine":144,"startCharacter":116,"endLine":153,"endCharacter":11},{"startLine":157,"startCharacter":122,"endLine":166,"endCharacter":11}]


[Trace - 19:07:15.345 PM] Received response 'textDocument/foldingRange - (10)' in 1506ms.
Result: [{"startLine":2,"startCharacter":8,"endLine":9,"endCharacter":30,"kind":"imports"},{"startLine":13,"startCharacter":13,"endLine":22,"endCharacter":2},{"startLine":20,"startCharacter":55,"endLine":21,"endCharacter":47},{"startLine":26,"startCharacter":48,"endLine":32,"endCharacter":11},{"startLine":28,"startCharacter":16,"endLine":30,"endCharacter":49},{"startLine":35,"startCharacter":45,"endLine":42,"endCharacter":14},{"startLine":37,"startCharacter":19,"endLine":39,"endCharacter":55}]


[Trace - 19:07:15.679 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:15 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/cmd/gRPC/server/server.go file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:07:28.226 PM] Sending request 'textDocument/hover - (11)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":26,"character":4}}


[Trace - 19:07:28.716 PM] Received response 'textDocument/hover - (11)' in 490ms.
Result: null


[Trace - 19:07:28.717 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:28 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:07:31.179 PM] Sending request 'textDocument/hover - (12)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":21}}


[Trace - 19:07:31.592 PM] Received response 'textDocument/hover - (12)' in 412ms.
Result: null


[Trace - 19:07:31.592 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:31 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:07:32.007 PM] Sending request 'textDocument/hover - (13)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":19}}


[Trace - 19:07:32.414 PM] Received response 'textDocument/hover - (13)' in 407ms.
Result: null


[Trace - 19:07:32.415 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:32 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:07:42.785 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:42 background imports cache refresh starting\n"}


[Trace - 19:07:42.984 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:42 background refresh finished after 199.335865ms\n"}


[Trace - 19:07:45.341 PM] Sending request 'textDocument/hover - (14)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":18}}


[Trace - 19:07:45.754 PM] Received response 'textDocument/hover - (14)' in 413ms.
Result: null


[Trace - 19:07:45.755 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:45 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:07:47.466 PM] Sending request 'textDocument/codeAction - (15)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":33,"character":18},"end":{"line":33,"character":18}},"context":{"diagnostics":[]}}


[Error - Received] 19:07:47.867 PM #15 no PackageHandles


[Trace - 19:07:47.867 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:47 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:07:48.056 PM] Sending request 'textDocument/hover - (16)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":17}}


[Trace - 19:07:48.486 PM] Received response 'textDocument/hover - (16)' in 429ms.
Result: null


[Trace - 19:07:48.486 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:48 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:07:50.363 PM] Sending request 'textDocument/documentHighlight - (17)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":17}}


[Trace - 19:07:50.612 PM] Sending request 'textDocument/codeAction - (18)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"range":{"start":{"line":38,"character":17},"end":{"line":38,"character":17}},"context":{"diagnostics":[]}}


[Trace - 19:07:50.637 PM] Sending request 'textDocument/hover - (19)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":38,"character":17}}


[Trace - 19:07:50.771 PM] Received response 'textDocument/documentHighlight - (17)' in 408ms.
Result: []


[Trace - 19:07:50.772 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:50 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:07:50.772 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/07/11 19:07:50 no highlight: getting file for Highlight: no PackageHandles\n\tURI=file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go\n"}


[Error - Received] 19:07:51.236 PM #18 no PackageHandles


[Trace - 19:07:51.237 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:51 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:07:51.411 PM] Sending notification '$/cancelRequest'.
Params: {"id":19}


[Error - Received] 19:07:51.415 PM #19 JSON RPC cancelled


[Trace - 19:07:51.653 PM] Sending request 'textDocument/hover - (20)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":37,"character":21}}


[Trace - 19:07:51.704 PM] Sending notification '$/cancelRequest'.
Params: {"id":20}


[Error - Received] 19:07:51.713 PM #20 JSON RPC cancelled


[Trace - 19:07:52.828 PM] Sending request 'textDocument/hover - (21)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":37,"character":17}}


[Trace - 19:07:53.248 PM] Received response 'textDocument/hover - (21)' in 420ms.
Result: null


[Trace - 19:07:53.249 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/07/11 19:07:53 go/packages.Load\n\tsnapshot=2\n\tdirectory=/projects/src/github.com/gattytto/gopos-backend\n\tquery=[file=/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go]\n\tpackages=0\n"}


[Trace - 19:07:53.778 PM] Sending request 'textDocument/hover - (22)'.
Params: {"textDocument":{"uri":"file:///projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go"},"position":{"line":25,"character":17}}


[Trace - 19:07:53.834 PM] Sending notification '$/cancelRequest'.
Params: {"id":22}


[Error - Received] 19:07:53.838 PM #22 JSON RPC cancelled

@stamblerre
Copy link
Contributor

Can you please share the output of the two go list commands that gopls is running?
These different logs aren't particularly helpful because it seems like they are all symptoms of the same underlying issue. gopls is not able to get metadata for the packages, likely because of the complicated environment in which you are running it.

The two commands to try are:

GOROOT=/usr/local/go GOPATH=/go:/projects GO111MODULE=on GOPROXY=direct PWD=/projects/src/github.com/gattytto/gopos-backend go list -e -json -compiled=true -test=true -export=false -deps=true -find=false /projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl

and

GOROOT=/usr/local/go GOPATH=/go:/projects GO111MODULE=on GOPROXY=direct PWD=/projects/src/github.com/gattytto/gopos-backend go list -e -json -compiled=true -test=true -export=false -deps=true -find=false /projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go

@gattytto
Copy link
Author

@gattytto
Copy link
Author

difference between commands is:
output1:

"Dir": "/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl",
	"ImportPath": "command-line-arguments",
	"Name": "impl",

output2:

"Dir": "/projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl",
	"ImportPath": "github.com/gattytto/gopos-backend/internal/gRPC/impl",
	"Name": "impl",
	"Target": "/projects/pkg/linux_amd64/github.com/gattytto/gopos-backend/internal/gRPC/impl.a",
	"Root": "/projects",

@gattytto
Copy link
Author

the imports command also does something like:

GOROOT=/usr/local/go GOPATH=/go:/projects GO111MODULE=on GOPROXY=direct PWD=/projects/src/github.com/gattytto/gopos-backend go [go list -modfile=/tmp/go.0056200e60327dba367b3e7ee1d4a57792113fa2.487939500.mod -e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/tmp/go.0056200e60327dba367b3e7ee1d4a57792113fa2.487939500.mod -- /projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl

and then:

gopls: /projects/src/github.com/gattytto/gopos-backend/internal/gRPC/impl/inventarioServiceGrpcImpl.go: no PackageHandles

@gattytto
Copy link
Author

it gets fixed by updated sidecar, mostly entrypoint.sh needs to fix ownership and permissions for /.cache (root .cache folder) since sidecar is a rootless container by design.

image

@golang golang locked and limited conversation to collaborators Jul 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

3 participants