Download Latest Version v0.8.0 source code.tar.gz (101.0 kB)
Email in envelope

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

Home / v0.4.0
Name Modified Size InfoDownloads / Week
Parent folder
gofumpt_v0.4.0_linux_amd64 2022-09-27 4.6 MB
gofumpt_v0.4.0_windows_386.exe 2022-09-27 4.6 MB
gofumpt_v0.4.0_linux_arm 2022-09-27 4.5 MB
gofumpt_v0.4.0_linux_arm64 2022-09-27 4.6 MB
gofumpt_v0.4.0_linux_386 2022-09-27 4.3 MB
gofumpt_v0.4.0_darwin_amd64 2022-09-27 4.9 MB
gofumpt_v0.4.0_darwin_arm64 2022-09-27 4.9 MB
gofumpt_v0.4.0_windows_amd64.exe 2022-09-27 4.8 MB
README.md 2022-09-27 825 Bytes
v0.4.0.tar.gz 2022-09-27 45.7 kB
v0.4.0.zip 2022-09-27 64.0 kB
Totals: 11 Items   37.3 MB 0

This release is based on Go 1.19's gofmt, and requires Go 1.18 or later. We recommend building gofumpt with Go 1.19 for the best formatting results.

The jump from Go 1.18 brings diffing in pure Go, removing the need to exec diff, and a small parsing speed-up thanks to go/parser.SkipObjectResolution.

The following formatting fixes are included as well:

  • Allow grouping declarations with comments - [#212]
  • Properly measure the length of case clauses - [#217]
  • Fix a few crashes found by Go's native fuzzing

Binaries built on go version go1.19.1 linux/amd64 via a shell script.

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

Source: README.md, updated 2022-09-27