mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-23 10:51:09 +00:00
The tree is at zero unformatted files for the first time. Nothing holds it there: gofmt drift is invisible in review because the common form of it is a missing newline at the end of a file, which no diff reader notices and no existing check looks at. That is how the batch cleaned up just now reached 26 files. `make fmt-check` reports rather than rewrites. CI cannot commit, and a target that silently reformats hides what it touched; `gofmt -l` names the files and says nothing when there are none, so its output is both the failure message and the fix. The step runs before the tests rather than beside checksilent at the end. A formatting miss is a one-command fix, and learning about it after five minutes of tests and an end-to-end install wastes five minutes for nothing.