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: #40040

Closed
PatrickZhao12 opened this issue Jul 4, 2020 · 4 comments
Closed

x/tools/gopls: #40040

PatrickZhao12 opened this issue Jul 4, 2020 · 4 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.
Milestone

Comments

@PatrickZhao12
Copy link

What did you see instead?

gopls doesn't work

Build info

golang.org/x/tools/gopls 0.4.1
    golang.org/x/tools/gopls@v0.4.1 h1:0e3BPxGV4B3cd0zdMuccwW72SgmHp92lAjOyxX/ScAw=
    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.2.0 h1:KU7oHjnv3XNWfa5COkzUifxZmxp1TyI7ImMXqFxLwvQ=
    golang.org/x/sync@v0.0.0-20190911185100-cd5d95a43a6e h1:vcxGaoTs7kV8m5Np9uUNQin4BrLOthgV7252N8V+FwY=
    golang.org/x/tools@v0.0.0-20200513154647-78b527d18275 h1:e7nYe9s94RHunFJ7b+mmPxiQMOKMVSqYASToWb1EcHs=
    golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
    honnef.co/go/tools@v0.0.1-2020.1.3 h1:sXmLre5bzIR6ypkjXCDI3jHPssRhc8KD/Ome589sc3U=
    mvdan.cc/xurls/v2@v2.1.0 h1:KaMb5GLhlcSX+e+qhbRJODnUUBvlw01jt4yrjFIHAuA=

Go info

go version go1.14.2 darwin/amd64

@gopherbot gopherbot added the Tools This label describes issues relating to any tools in the x/tools repository. label Jul 4, 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.

@gopherbot gopherbot added the gopls Issues related to the Go language server, gopls. label Jul 4, 2020
@gopherbot gopherbot added this to the Unreleased milestone Jul 4, 2020
@kockok
Copy link

kockok commented Jul 4, 2020

I got go generate exited with an error, check gopls logs error, however, no link was provided.
So, I still don't have a clue as to where the log is located and just see the logs.

@thepudds
Copy link
Contributor

thepudds commented Jul 4, 2020

Hi @PatrickZhao12 and @kockok, What editors are you using, and can you say a bit more about the symptoms you are observing?

Also, the logs are very useful for triaging what might be going wrong. The gopls troubleshooting guide has some very useful instructions for how to gather data for reporting a problem, including how to gather logs:

https://github.com/golang/tools/blob/master/gopls/doc/troubleshooting.md

@kockok, are you seeing the exact same problem as @PatrickZhao12? If not, it probably makes sense to open a separate new issue for your specific case.

@stamblerre
Copy link
Contributor

Closing this issue as the original report is empty. @kockok: Please do file a new issue if you're interested in investigating this further.

@golang golang locked and limited conversation to collaborators Jul 8, 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.
Projects
None yet
Development

No branches or pull requests

5 participants