Go-lang Code Analysis

Back

1. apicompat

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

2. dupl

Tool for code clone detection.

3. errcheck

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

4. gcvis

Visualise Go program GC trace data in real time.

5. 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.

6. go-cleanarch

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

7. go-critic

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

8. go-mod-outdated

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

9. go-outdated

Console application that displays outdated packages.

10. goast-viewer

Web based Golang AST visualizer.

11. GoCover.io

GoCover.io offers the code coverage of any golang package as a service.

12. goimports

Tool to fix (add, remove) your Go imports automatically.

13. golang-ifood-sdk

iFood API SDK.

14. golines

Formatter that automatically shortens long lines in Go code.

15. GoLint

Golint is a linter for Go source code.

16. Golint online

Lints online Go source files on GitHub, Bitbucket and Google Project Hosting using the golint package.

17. GoPlantUML

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

18. goreturns

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

19. gosimple

gosimple is a linter for Go source code that specialises on simplifying code.

20. gostatus

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

21. lint

Run linters as part of go test.

22. php-parser

A Parser for PHP written in Go.

23. 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#.

24. tarp

tarp finds functions and methods without direct unit tests in Go source code.

25. tickgit

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

26. todocheck

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

27. unconvert

Remove unnecessary type conversions from Go source.

28. unused

unused checks Go code for unused constants, variables, functions and types.

29. validate

Automatically validates struct fields with tags.