Code Analysis

31 packages 1 resources

Packages (31)

golangci-lint

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

18,421 1,548

staticcheck

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

6,705 403

revive

~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for `golint`.

5,386 314

errcheck

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

2,472 141

GoPlantUML

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

2,078 175

go-critic

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

2,028 133

golines

Formatter that automatically shortens long lines in Go code.

1,134 76

vacuum

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

997 77

go-cleanarch

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

963 48

go-mod-outdated

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

664 29

goreturns

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

536 53

Chronos

Detects race conditions statically

438 10

todocheck

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

437 45

unconvert

Remove unnecessary type conversions from Go source.

388 27

dupl

Tool for code clone detection.

362 21

wrapcheck

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

358 33

tickgit

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

323 18

gostatus

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

245 10

apicompat

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

181 5

testifylint

A linter that checks usage of [github.com/stretchr/testify](https://github.com/stretchr/testify).

164 18

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 17

asty

Converts golang AST to JSON and JSON to AST.

87 4

lint

Run linters as part of go test.

66 10

fatcontext

Fatcontext detects nested contexts in loops or function literals.

65 3

validate

Automatically validates struct fields with tags.

62 14

ChainJacking

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

61 15

usestdlibvars

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

47 6

blanket

blanket is a tool that helps you catch functions which don't have direct unit tests in your Go packages.

Resources & Links (1)