macOS
brew install gofumptlocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für gofumpt in AI-Agent-Workflows.
Installation
brew install gofumptlocal Homebrew formula metadata
nix profile install nixpkgs#gofumptnixpkgs package indexes · pkgs/by-name/go/gofumpt/package.nix · Quelle: api.github.com
sudo pacman -S gofumptArch Linux sync databases · gofumpt · Quelle: geo.mirror.pkgbuild.com
Überblick
Stricter gofmt
Verlauf
gofumpt is a stricter Go formatter that remains compatible with gofmt output. It accepts a narrower formatting style and can be used as a drop-in command for formatting Go source.
The project occupies a practical niche between the Go toolchain's conservative formatter and teams that want more consistent source layout without maintaining custom formatter rules.
The repository began in March 2019 by importing source from cmd/gofmt and adding the first stricter formatting rules. The README continues to describe the tool as a fork of gofmt with added rules implemented in the format package.
The first release, v0.1.0 in January 2021, documented the features that had worked for more than a year. Later releases track Go formatter changes: v0.3.0 was based on Go 1.18's gofmt, v0.5.0 vendored Go formatting packages for stable behavior across build toolchains, and v0.10.0 was based on Go 1.26's gofmt.
gofumpt spread through Go editor and CI workflows because it preserves gofmt compatibility while reducing formatting latitude. Its README presents it as a drop-in formatter, and the changelog notes that gopls supports gofumpt natively.
Package-manager adoption followed that formatter role: the input package facts list Homebrew, Nix, and pacman names, reflecting use across developer workstations rather than as a service dependency.
The common command-line pattern is gofumpt -l -w . for listing and rewriting formatted files. The README documents skipped vendor and testdata directories unless passed explicitly, and generated files only receive added rules when passed explicitly.
Teams usually run gofumpt in pre-commit hooks, CI checks, or editor format-on-save paths. Library users can also call the format package when they need gofumpt behavior inside Go tooling.
gofumpt is package-nerd catnip because it is deliberately boring: it extends gofmt without rejecting gofmt's social contract. That made it acceptable in environments where arbitrary style formatters would be too divisive.
Its release history tracks Go's own formatter internals, so package maintainers care about which Go release a gofumpt version is based on. The vendoring change in v0.5.0 is especially important because it made output less dependent on the compiler used to build the binary.
Sicherheitslage
Für gofumpt wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
gofumpt | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/mvdan/gofumpt
Installationsmetadaten
| Paketschlüssel | brew:gofumpt |
|---|---|
| Version | 0.10.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/gofumpt |
| Homepage | https://github.com/mvdan/gofumpt |
| Repository | https://github.com/mvdan/gofumpt |
| Upstream-Dokumentation | https://github.com/mvdan/gofumpt#readme |
| Lizenz | BSD-3-Clause |
| Quellarchiv | https://github.com/mvdan/gofumpt/archive/refs/tags/v0.10.0.tar.gz |
| Zuletzt aktualisiert | 2026-05-12T18:14:29Z |
| Pulse | updated |
| Abhängigkeiten | go |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gofumpt |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
gofumpt
nix profile install nixpkgs#gofumptgofumpt 0.7.0-2
A strict formatter for Go language
https://github.com/mvdan/gofumpt
sudo pacman -S gofumptQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.