Download Latest Version v0.9.2 source code.tar.gz (102.0 kB)
Email in envelope

Get an email when there's a new version of gofumpt

Home / v0.9.0
Name Modified Size InfoDownloads / Week
Parent folder
sha256sums.txt 2025-09-03 752 Bytes
gofumpt_v0.9.0_linux_386 2025-09-03 3.8 MB
gofumpt_v0.9.0_linux_arm64 2025-09-03 4.0 MB
gofumpt_v0.9.0_windows_386.exe 2025-09-03 3.9 MB
gofumpt_v0.9.0_linux_amd64 2025-09-03 4.1 MB
gofumpt_v0.9.0_linux_arm 2025-09-03 3.9 MB
gofumpt_v0.9.0_darwin_arm64 2025-09-03 3.9 MB
gofumpt_v0.9.0_windows_amd64.exe 2025-09-03 4.2 MB
gofumpt_v0.9.0_darwin_amd64 2025-09-03 4.1 MB
README.md 2025-09-02 984 Bytes
v0.9.0 source code.tar.gz 2025-09-02 101.8 kB
v0.9.0 source code.zip 2025-09-02 131.5 kB
Totals: 12 Items   32.3 MB 0

This release is based on Go 1.25's gofmt, and requires Go 1.24 or later.

A new rule is introduced to "clothe" naked returns for the sake of clarity. While there is nothing wrong with naming results in function signatures, using lone return statements can be confusing to the reader.

Go 1.25's ignore directives in go.mod files are now obeyed; any directories within the module matching any of the patterns are now omitted when walking directories, such as with gofumpt -w ..

Module information is now loaded via Go's x/mod/modfile package rather than executing go mod edit -json, which is way faster. This should result in moderate speed-ups when formatting many directories.

Binaries built on go version go1.25.0 linux/amd64 with:

CGO_ENABLED=0 go build -trimpath -ldflags="-w -s"

Consider becoming a sponsor if you benefit from the work that went into this release!

Source: README.md, updated 2025-09-02