golangci-lint VS ireturn

Compare golangci-lint vs ireturn and see what are their differences.


Fast linters Runner for Go (by golangci)


Accept Interfaces, Return Concrete Types (by butuzov)
Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
golangci-lint ireturn
60 1
12,551 20
1.7% -
9.5 0.0
8 days ago about 1 month ago
Go Go
GNU General Public License v3.0 only MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of golangci-lint. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-23.


Posts with mentions or reviews of ireturn. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-17.
  • Go'ing Insane Part Three: Imperfect Interfaces
    3 projects | /r/golang | 17 Sep 2021
    Can I highjack a topic? Made a linter recently that will track usage of returned values, just to follow rule return concrete values instead interfaces- ireturn. Can be configurable, can be used with github-actions and will be available with next minor version of golangci-lint.

What are some alternatives?

When comparing golangci-lint and ireturn you can also consider the following projects:

gosec - Golang security checker

golangci-lint-action - Official GitHub action for golangci-lint from its authors

gopl.io - Example programs from "The Go Programming Language"

go - The Go programming language

ls-lint - An extremely fast directory and filename linter - Bring some structure to your project filesystem

go-tools - Staticcheck - The advanced Go linter

golang-standards/project-layout - Standard Go Project Layout

maligned - Tool to detect Go structs that would take less memory if their fields were sorted.

viper - Go configuration with fangs

gofumpt - A stricter gofmt

errors - Go error library with error portability over the network

argslen - Go linter that warns about the number of arguments in functions.