Paul Forgey
Paul Forgey
even worse, replacing **mock.AnythingOfType("context.Context")** with **mock.Anything** still won't work.
issue does not reproduce for me in 2.2.6 FWIW
There was an older version in my path (should have checked for that). Re-affirmed an updated one, now on version `golang.org/x/tools/gopls v0.3.1 golang.org/x/tools/[email protected] h1:yNTWrf4gc4Or0UecjOas5pzOa3BL0WDDyKDV4Wz5VaM=`. This solved the errors, however there...
agreed. I'll create a new issue with a clear reproduction.
They are not outside GOPATH/src. I am not using go.mod, but I can try to see if that has an effect.
If I create a go.mod file with the package, navigation does not work at all, not even giving errors.
:GoDef behaves the same as ctrl+] That's the entirety of the .vimrc. On this system, vim is used exclusively for go code and the vim-go plugin plus the default setup...
I have another platform running vim-go which _was_ working, where, as an experiment, I cleaned out go/bin and re-ran GoUpdateBinaries to re-install. Now it has the same behavior. I suspect...
{"method":"initialize","jsonrpc":"2.0","id":1,"params":{"rootUri":"file:///home/ubuntu/mesa/go/src/foo","capabilities":{"workspace":{"workspaceFolders":true,"configuration":true,"didChangeConfiguration":{"dynamicRegistration":true}},"textDocument":{"completion":{"completionItem":{"snippetSupport":false}},"hover":{"contentFormat":["plaintext"]}}},"processId":1874,"workspaceFolders":[{"uri":"file:///home/ubuntu/mesa/go/src/foo","name":"/home/ubuntu/mesa/go/src/foo"}]}} {"id":1,"jsonrpc":"2.0","result":null} {"jsonrpc":"2.0","method":"client/registerCapability","params":{"registrations":[{"id":"workspace/didChangeConfiguration","method":"workspace/didChangeConfiguration"},{"id":"workspace/didChangeWorkspaceFolders","method":"workspace/didChangeWorkspaceFolders"}]},"id":1} stderr: 2020/02/11 06:04:50 debug server listening on port 41593 {"method":"textDocument/didOpen","jsonrpc":"2.0","params":{"textDocument":{"uri":"file:///home/ubuntu/mesa/go/src/foo/fileb.go","version":1,"languageId":"go","text":"package foo\n\nimport (\n\t\"fmt\"\n)\n\ntype Bar struct {\n\ta int\n}\n\nfunc DoSomething(f *Foo, b *Bar) {\n\t// ctrl+] in Bar works (inside this...
> The only binary involved here outside of the go toolchain is gopls. I suspect an intermediate outside module used in the building the binary has perhaps updated. It's the...