# golang/tools

[mirror] Go Tools

Repository: https://github.com/golang/tools
Canonical: https://ross.abutalabs.com/products/golang-tools
Homepage: https://golang.org/x/tools
Language: Go
License: BSD-3-Clause
License Family: permissive
Last push: 2026-08-26T17:57:50+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 80, longevity 100
- inputs: {"age_days": 4299, "days_push": 7, "days_rel": 55, "gap_med": 57, "n_releases_24m": 12}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7995, forks 2402 (observed 2026-08-28T04:10:11.445842+00:00)

## What it is
The golang.org/x/tools module provides packages and commands for static analysis of Go programs, including SSA IR, call graphs, and a modular analysis framework. It also hosts gopls, the official Language Server Protocol server that gives editors IDE-like Go support.

## Use cases
- automatically format Go files and fix imports with goimports
- build custom static analysis tools for Go code
- add IDE features like autocomplete and go-to-definition to an editor for Go
- generate String methods for Go enum types
- compute call graphs of Go programs
- load and type-check Go packages from source

## When to choose
- you are writing Go analysis, refactoring, or linting tooling
- you want to embed Go language intelligence into an editor via LSP
- you need programmatic loading and type-checking of Go source

## When to avoid
- you need runtime profiling or dynamic analysis rather than static analysis
- you are working in a language other than Go

## Facets
- artifact type: library
- maturity: active
- function: linter, formatter, static-site-generator, parser, developer-tools, editor, documentation
- domain: developer-tools, programming-languages, parsers
- platform: go, cross-platform, cli, editor-plugin
- tags: static-analysis, lsp, gopls, goimports, ssa, code-analysis, refactoring, language-server, command-line

## Member repositories
- golang/tools (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:11.445842+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-29T17:32:32.960476+00:00, confidence not recorded.
  - readme: https://github.com/golang/tools (fetched 2026-08-28T04:10:11.445842+00:00, sha 2feaea47f699)
  - homepage: https://golang.org/x/tools (fetched 2026-08-29T08:29:26.957239+00:00, sha f40b2ff82d55)
- Data as of 2026-08-30T08:39:29.467469+00:00.
