SHORTLIST20
Français
Englishالعربية中文日本語한국어EspañolFrançaisहिन्दी
Programmation

Go code analysis tools

Linters, static analysis and code quality tools for Go, ranked by GitHub stars

Mis à jour · GitHub stars (stars)

Pourquoi ces 20

Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.

Cette liste est-elle utile ?
  1. 1

    golangci-lint

    A fast Go linters runner. It runs linters in parallel, uses caching, supports config, has integrations with all major IDE and has dozens of linters included.

    19,548 stars 1,641 forkslast push 2026-11-17GoGPL-3.0

  2. 2

    staticcheck

    staticcheck is on steroids, applying a ton of static analysis checks you might be used to from tools like ReSharper for C#.

    6,937 stars 434 forkslast push 2026-10-24GoMIT

  3. 3

    errcheck

    Errcheck is a program for checking for unchecked errors in Go programs.

    2,534 stars 155 forkslast push 2026-11-17GoMIT

  4. 4

    GoPlantUML

    Library and CLI that generates text plantump class diagram containing information about structures and interfaces with the relationship among them.

    2,081 stars 176 forkslast push 2026-11-08GoMIT

  5. 5

    go-critic

    source code linter that brings checks that are currently not implemented in other linters.

    2,081 stars 145 forkslast push 2026-10-18GoMIT

  6. 6

    vacuum

    An ultra-super-fast, lightweight OpenAPI linter and quality checking tool.

    1,148 stars 94 forkslast push 2026-11-19GoMIT

  7. 7

    go-cleanarch

    go-cleanarch was created to validate Clean Architecture rules, like a The Dependency Rule and interaction between packages in your Go projects.

    984 stars 49 forkslast push 2021-11-08GoMIT

  8. 8

    goast-viewer

    Web based Golang AST visualizer.

    789 stars 66 forkslast push 2023-11-30JavaScriptMIT

  9. 9

    go-mod-outdated

    An easy way to find outdated dependencies of your Go projects.

    669 stars 31 forkslast push 2023-02-19GoMIT

  10. 10

    goreturns

    Adds zero-value return statements to match the func return types.

    538 stars 53 forkslast push 2023-10-30GoNOASSERTION

  11. 11

    Chronos

    Detects race conditions statically

    438 stars 10 forkslast push 2022-04-22GoMIT

  12. 12

    unconvert

    Remove unnecessary type conversions from Go source.

    389 stars 28 forkslast push 2026-10-20GoBSD-3-Clause

  13. 13

    wrapcheck

    A linter to check that errors from external packages are wrapped.

    374 stars 36 forkslast push 2026-10-15GoMIT

  14. 14

    dupl

    Tool for code clone detection.

    371 stars 27 forkslast push 2026-03-05GoMIT

  15. 15

    tickgit

    CLI and go package for surfacing code comment TODOs (in any language) and applying ato identify the author.

    324 stars 18 forkslast push 2023-12-18GoMIT

  16. 16

    gostatus

    Command line tool, shows the status of repositories that contain Go packages.

    246 stars 9 forkslast push 2025-05-18GoMIT

  17. 17

    apicompat

    Checks recent changes to a Go project for backwards incompatible changes.

    182 stars 5 forkslast push 2017-02-05GoMIT

  18. 18

    ast-metrics ▲1

    Static code analyzer for Go and other languages: complexity, coupling, cohesion and maintainability metrics, with HTML, JSON, Markdown and SARIF reports.

    175 stars 19 forkslast push 2026-11-12GoMIT

  19. 19

    testifylint ▼1

    A linter that checks usage of github.com/stretchr/testify.

    173 stars 18 forkslast push 2026-10-01GoMIT

  20. 20

    go-checkstyle

    checkstyle is a style check tool like java checkstyle. This tool inspired by java checkstyle, golint. The style referred to some points in Go Code Review Comments.

    130 stars 17 forkslast push 2021-03-10GoMIT

Comment c'est mesuré

Every tool in the Code Analysis section(s) of the community list avelino/awesome-go on GitHub with a public repository, ranked by GitHub stars from the GitHub API; archived repositories are left out. Added by the daily list generator.

Références

  1. avelino/awesome-go: Code Analysis, GitHub community list (list text MIT; star counts from the GitHub API). Checked 2026-11-20 12:36 UTC.
  2. avelino/awesome-go (Code Analysis), GitHub community list, 35 tools with a public repository.