Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 Go Code Analysis Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
revive
🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
go-cleanarch
Clean architecture validator for go, like a The Dependency Rule and interaction between packages in your Go projects.
-
go-mod-outdated
Find outdated dependencies of your Go projects. go-mod-outdated provides a table view of the go list -u -m -json all command which lists all dependencies of a Go project and their available minor and patch updates. It also provides a way to filter indirect dependencies and dependencies without updates.
-
goreturns
A gofmt/goimports-like tool for Go programmers that fills in Go return statements with zero values to match the func return types
-
bodyclose
Analyzer: checks whether HTTP response body is closed and a re-use of TCP connection is not blocked.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
goimports has special-cased math/rand.Read vs crypto/rand.Read from basically the beginning. But https://github.com/golang/tools/commit/0835c735343e0d8e375f0... in 2016 references a time window where it could resolve "rand.Read" as "math/rand". Maybe you were in that time window?
The v1.3.4 of revive, the fast, configurable, extensible, flexible, and beautiful linter for Go, is available.
In our codebase I noticed a few cases where people ignored errors returned from functions by assigning them to _, ie result, _ := foo(). The errcheck linter doesn't seem to catch this, does anyone know of a linter that does?
Project mention: TIL: Go Response Body MUST be closed, even if you don’t read it - Manish R Jain | /r/golang | 2023-05-12
Project mention: Open source software maintenance is difficult: examples with Go math/rand/v2 and testify | dev.to | 2024-05-02PS: @Antonboom is doing an amazing work with testifylint. That is a major tool that helps Testify users to avoid v1's traps. More than a v2.
Go Code Analysis related posts
-
Secure Randomness in Go 1.22
-
Open source software maintenance is difficult: examples with Go math/rand/v2 and testify
-
Gopls/v0.15.0
-
Experience Continuous Integration with Jenkins | Ansible | Artifactory | SonarQube | PHP
-
makefile para projetos em Go
-
Finding unreachable functions with deadcode – The Go Programming Language
-
Using Private Go Modules with golangci-lint in GitHub Actions
-
A note from our sponsor - InfluxDB
www.influxdata.com | 10 May 2024
Index
What are some of the best open-source Code Analysis projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | golangci-lint | 14,512 |
2 | goimports | 7,238 |
3 | revive | 4,626 |
4 | errcheck | 2,286 |
5 | GoPlantUML | 1,697 |
6 | PHP-Parser | 934 |
7 | golines | 833 |
8 | go-cleanarch | 825 |
9 | go-mod-outdated | 645 |
10 | goreturns | 524 |
11 | Chronos | 419 |
12 | todocheck | 414 |
13 | unconvert | 375 |
14 | dupl | 326 |
15 | tickgit | 320 |
16 | bodyclose | 299 |
17 | gostatus | 242 |
18 | GoCover.io | 228 |
19 | apicompat | 178 |
20 | go-checkstyle | 128 |
21 | asty | 74 |
22 | testifylint | 74 |
23 | lint | 66 |
Sponsored