mvdan/gofumpt
View on GitHub ↗ ★ 4,107 Go
A stricter gofmt
8 mentions on Hacker News by 8 people: 3 stories, 5 comments · first 2020-11-04 · latest 2026-07-26
20082026
-
…evidenced by the existence of golines[0] or gofumpt[1]. 0: https://github.com/golangci/golines/ 1: https://github.com/mvdan/gofumpt
comment by CrompyBlompers · 2026-07-26 · in Ruff v0.16.0 – Significant new updates – 413 default rules up from 59 -
▲ 1
Gofumpt: A Stricter Gofmtstory by jcbhmr · 2026-01-29 · 0 comments
-
Good news: there are tools like https://github.com/mvdan/gofumpt which fork gofmt and enforce stricter rules (while remaining invariant under gofmt).
comment by duskwuff · 2025-09-08 · in Formatting code should be unnecessary -
▲ 2
Gofumpt: A Stricter Gofmtstory by fanf2 · 2025-07-13 · 0 comments
-
…are some absolutely fantastic additions in 'gofumpt' that I do hope wind up in 'gofmt' --- [1]: https://github.com/mvdan/gofumpt#roadmap
comment by usrme · 2023-02-11 · in Gofumpt: A stricter gofmt -
▲ 98
Gofumpt: A stricter gofmtstory by metadat · 2023-02-11 · 88 comments
-
you might want to check out gofumpt too, if you haven't already: https://github.com/mvdan/gofumpt
comment by llimllib · 2021-07-08 · in Difftastic: Syntax-aware structured diff tool -
https://github.com/mvdan/gofumpt Drop in replacement for `go fmt` and probably does most of what you want.
comment by sneak · 2020-11-04 · in Three Months of Go from a Haskeller’s perspective (2016)