goimports VS gofumpt

Compare goimports vs gofumpt and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
goimports gofumpt
46 15
7,202 3,024
0.6% -
9.9 6.6
7 days ago 15 days ago
Go Go
BSD 3-clause "New" or "Revised" License BSD 3-clause "New" or "Revised" 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.

goimports

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

gofumpt

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

What are some alternatives?

When comparing goimports and gofumpt you can also consider the following projects:

nvim-lspconfig - Quickstart configs for Nvim LSP

goimports-reviser - Right imports sorting & code formatting tool (goimports alternative)

goreturns - A gofmt/goimports-like tool for Go programmers that fills in Go return statements with zero values to match the func return types

GNU/Emacs go-mode - Emacs mode for the Go programming language

GoLint - [mirror] This is a linter for Go source code. (deprecated)

golangci-lint - Fast linters Runner for Go

staticcheck

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

golines - A golang formatter that fixes long lines

go-tools - Staticcheck - The advanced Go linter

go-checkstyle - checkstyle for go

pre-commit-golang - Pre-commit hooks for Golang with support for monorepos, the ability to pass arguments and environment variables to all hooks, and the ability to invoke custom go tools.