Cute Gopher Mascot

The Best Go Libraries For Code Analysis (33)

Discover the best Go libraries for Code Analysis! Find the perfect tools to streamline your development and boost productivity. From apicompat to asty, we've got you covered. Let the coding begin!

apicompat

Checks recent changes to a Go project for backwards incompatible changes

See More! πŸš€

asty

Converts golang AST to JSON and JSON to AST

See More! πŸš€

blanket

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

See More! πŸš€

Chronos

Detects race conditions statically

See More! πŸš€

dupl

Tool for code clone detection

See More! πŸš€

errcheck

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

See More! πŸš€

go-cleanarch

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

See More! πŸš€

go-critic

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

See More! πŸš€

go-outdated

Console application that displays outdated packages.

See More! πŸš€

golines

Formatter that automatically shortens long lines in Go code

See More! πŸš€

GoPlantUML

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

See More! πŸš€

goreturns

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

See More! πŸš€

gostatus

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

See More! πŸš€

todocheck

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

See More! πŸš€

usestdlibvars

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

See More! πŸš€

vacuum

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

See More! πŸš€

wrapcheck

A linter to check that errors from external packages are wrapped

See More! πŸš€

fatcontext

Fatcontext detects nested contexts in loops or function literals

See More! πŸš€

go-mod-outdated

An easy way to find outdated dependencies of your Go projects

See More! πŸš€

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

See More! πŸš€

lint

Run linters as part of go test

See More! πŸš€

php-parser

A Parser for PHP written in Go

See More! πŸš€

revive

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

See More! πŸš€

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#

See More! πŸš€

testifylint

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

See More! πŸš€

tickgit

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

See More! πŸš€

ChainJacking

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

See More! πŸš€

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

See More! πŸš€

goast-viewer

Web based Golang AST visualizer

See More! πŸš€

golang-ifood-sdk

iFood API SDK

See More! πŸš€

stto

A light-weight superfast line of code counter written in pure Go

See More! πŸš€

unconvert

Remove unnecessary type conversions from Go source

See More! πŸš€

validate

Automatically validates struct fields with tags

See More! πŸš€