Code Analysis

Source code analysis tools, also known as Static Application Security Testing (SAST) Tools.

staticcheck6.3K

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

errcheck2.4K

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

GoPlantUML1.9K

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

go-critic1.9K

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

gcvis1.1K

Visualise Go program GC trace data in real time.

golines967

Formatter that automatically shortens long lines in Go code.

php-parser942

A Parser for PHP written in Go.

go-cleanarch898

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

goast-viewer773

Web based Golang AST visualizer.

vacuum670

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

go-mod-outdated653

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

goreturns531

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

Chronos429

Detects race conditions statically

todocheck429

Static code analyser which links TODO comments in code with issues in your issue tracker.

unconvert382

Remove unnecessary type conversions from Go source.

dupl347

Tool for code clone detection.

tickgit324

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

wrapcheck312

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

gostatus243

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

apicompat178

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

go-checkstyle130

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.

asty82

Converts golang AST to JSON and JSON to AST.

lint67

Run linters as part of go test.

validate61

Automatically validates struct fields with tags.

ChainJacking56

Find which of your Go lang direct GitHub dependencies is susceptible to ChainJacking attack.

usestdlibvars44

A linter that detect the possibility to use variables/constants from the Go standard library.

fatcontext15

Fatcontext detects nested contexts in loops or function literals.

golang-ifood-sdk12

iFood API SDK.