# dominikh/go-tools

Staticcheck - The advanced Go linter

Repository: https://github.com/dominikh/go-tools
Canonical: https://ross.abutalabs.com/products/go-tools
Homepage: https://staticcheck.dev
Language: Go
License: MIT
License Family: permissive
Topics: linters, static-analysis, linter, staticcheck, sponsor
Last push: 2026-08-24T19:54:49+00:00

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

## Adoption (not part of the score)
Stars 6860, forks 421 (observed 2026-08-28T04:09:50.946305+00:00)

## What it is
Staticcheck is an advanced linter for the Go programming language that uses static analysis to find bugs, performance issues, and simplification opportunities while enforcing style rules. It ships as a command-line tool with 150+ low-false-positive checks, integrates with CI pipelines and major Go editors via gopls, and includes auxiliary tools for analyzing struct memory layout.

## Use cases
- lint go code for bugs and performance issues
- run static analysis on a go project in ci
- find deprecated api usage in go code
- simplify overly complex go code
- check struct field padding and memory layout
- enforce style rules across a go codebase

## When to choose
- you write Go and want a high-quality linter with few false positives
- you need reliable static analysis that runs in CI without spurious failures
- you want editor-integrated diagnostics and automatic fixes via gopls

## When to avoid
- you need linting for languages other than Go
- you want to depend on its internal libraries as stable APIs
- you need highly customizable rule authoring beyond its configuration options

## Facets
- artifact type: cli-tool
- maturity: active
- function: linter, developer-tools, code-review
- domain: developer-tools, programming-languages, testing, performance
- platform: go, cli, cross-platform, windows
- tags: staticcheck, go, code-quality, ci-integration, editor-integration, linux, macos

## Member repositories
- dominikh/go-tools (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:50.946305+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:41:43.379488+00:00, confidence not recorded.
  - readme: https://github.com/dominikh/go-tools (fetched 2026-08-28T04:09:50.946305+00:00, sha 6180213690d2)
  - homepage: https://staticcheck.dev (fetched 2026-08-29T08:37:39.247922+00:00, sha e36ad45a13fd)
  - site_page: https://staticcheck.dev/docs (fetched 2026-08-29T08:37:39.256751+00:00, sha 0e55bd5d7966)
  - site_page: https://staticcheck.dev/docs/checks (fetched 2026-08-29T08:37:39.258800+00:00, sha ae46aa1785de)
- Data as of 2026-08-30T08:39:29.467469+00:00.
