{"id":52165,"library":"x-tools-gopls","title":"Gopls","description":"Gopls is an LSP server for Go, providing IDE features like autocompletion and diagnostics.","status":"active","version":"0.22.0","language":"go","source_language":null,"source_url":null,"tags":["lsp","language-server","ide","tools"],"install":[{"cmd":"go get golang.org/x/tools/gopls","lang":"bash","label":"Install golang.org/x/tools/gopls"}],"dependencies":[],"imports":[{"symbol":"gopls","correct":"golang.org/x/tools/gopls"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"golang.org/x/tools/gopls\"\n)\n\nfunc main() {\n\tfmt.Println(\"Gopls is a language server, not a library.\")\n}","lang":"go","description":"Gopls is typically used as a binary, not imported directly."},"warnings":[{"fix":"Use the gopls binary from the command line instead of importing it.","message":"Gopls is a command-line tool, not a library; importing it directly is unusual.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'autocomplet':13 'diagnost':15 'featur':11 'go':8 'gopl':1,2 'ide':10,20 'languag':18 'language-serv':17 'like':12 'lsp':5,16 'provid':9 'server':6,19 'tool':21","created_at":"2026-06-15T06:43:51.824446+00:00","updated_at":"2026-06-15T06:43:51.824446+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://cs.opensource.google/go/x/tools","github":null,"docs":"https://pkg.go.dev/golang.org/x/tools/gopls#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}