# sourcegraph/go-langserver

Go language server to add Go support to editors and other tools that use the Language Server Protocol (LSP)

Repository: https://github.com/sourcegraph/go-langserver
Canonical: https://ross.abutalabs.com/products/go-langserver
Homepage: https://sourcegraph.com
Language: Go
License: MIT
License Family: permissive
Topics: repo-type-codeintel, 1a89010d36
Archived: true
Last push: 2022-07-25T21:04:15+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3613, "days_push": 1500, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1161, forks 90 (observed 2026-08-28T04:03:49.214948+00:00)

## What it is
go-langserver is a Go language server implementing the Language Server Protocol (LSP), providing editor features like go-to-definition, hover, find-references, and workspace symbols for Go projects. It was built by Sourcegraph but has been deprioritized in favor of Google's gopls.

## Use cases
- add Go support to my editor via LSP
- jump to definition and find references for Go code
- hover information for Go symbols in my editor
- workspace symbol search in Go projects
- format Go files with goimports or gofmt from an editor
- lint Go code with golint through an editor integration

## When to choose
- you need a lightweight Go language server for a custom LSP client or tooling
- your editor or tool cannot use gopls and needs basic Go navigation features
- you are integrating Go code intelligence into a non-standard environment

## When to avoid
- you want a full-featured Go language server for daily editor use - use gopls instead
- you need actively maintained tooling with the latest Go language support
- you rely on advanced features like full code completion, which is experimental here

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: editor, developer-tools
- domain: developer-tools, text-editors, programming-languages
- platform: cross-platform, cli
- tags: language-server-protocol, lsp, go, code-navigation, gopls-alternative

## Member repositories
- sourcegraph/go-langserver (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:49.214948+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:31:44.515976+00:00, confidence not recorded.
  - readme: https://github.com/sourcegraph/go-langserver (fetched 2026-08-28T04:03:49.214948+00:00, sha cea15535d536)
  - homepage: https://sourcegraph.com (fetched 2026-08-29T12:36:14.776165+00:00, sha 6246d788642a)
  - site_page: https://sourcegraph.com/docs/api (fetched 2026-08-29T12:36:14.804130+00:00, sha 623aae1c35c5)
  - site_page: https://sourcegraph.com/docs/cli (fetched 2026-08-29T12:36:14.806363+00:00, sha ab041a8eda6f)
  - site_page: https://sourcegraph.com/docs (fetched 2026-08-29T12:36:14.810722+00:00, sha 926125f12098)
  - site_page: https://sourcegraph.com/pricing (fetched 2026-08-29T12:36:14.801631+00:00, sha 44df09d4b3a8)
  - site_page: https://sourcegraph.com/changelog (fetched 2026-08-29T12:36:14.808343+00:00, sha 447aea873969)
- Data as of 2026-08-30T08:39:29.467469+00:00.
