A stricter gofmt

Install latest/stable of A stricter gofmt

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install gofumpt

Don't have snapd? Get set up for snaps.

Channel Version Published

Details for A stricter gofmt

License

  • BSD-3-Clause

Last updated

  • 20 March 2026 - latest/stable
  • 20 March 2026 - latest/candidate

Websites


Contact


Donations


Source code


Report a bug


Report a Snap Store violation

Share this snap

Generate an embeddable card to be shared on external websites.

Language Server for systemd unit files

Enforce a stricter format than gofmt, while being backwards compatible. That is, gofumpt is happy with a subset of the formats that gofmt is happy with.

The tool is a fork of gofmt as of Go 1.25.0, and requires Go 1.24 or later. It can be used as a drop-in replacement to format your Go code, and running gofmt after gofumpt should produce no changes.


Install A stricter gofmt on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.


Where people are using A stricter gofmt

Users by distribution (log)

Ubuntu 24.04
Ubuntu 22.04