From 94aa1d0af0fa4d6c7873a4b5de0f55dfcc0aa03c Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 13 May 2026 10:32:48 +0300 Subject: enforce gofmt formatting and add Fmt/FmtCheck mage targets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Run gofmt -w on 9 files that had minor alignment/whitespace drift (pair.go, filter.go, ior_mode_registry.go, ior_mode_test.go, runtime.go, engine.go, dashboard/model.go, flamegraph/model.go, flamegraph/renderer.go). Add two new Mage targets to Magefile.go: - `mage fmt` – rewrites all .go files in-place via go/format - `mage fmtCheck` – dry-run check; fails with a list of offending files, suitable as a CI gate Co-Authored-By: Claude Sonnet 4.6 --- internal/statsengine/engine.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/statsengine/engine.go') diff --git a/internal/statsengine/engine.go b/internal/statsengine/engine.go index 78dbe65..02aee37 100644 --- a/internal/statsengine/engine.go +++ b/internal/statsengine/engine.go @@ -209,8 +209,8 @@ func (e *Engine) captureSnapshotInputs() snapshotInputs { // and returns their results bundled together. func buildSubSnapshots(in snapshotInputs, elapsed time.Duration) subSnapshots { var ( - ss subSnapshots - wg sync.WaitGroup + ss subSnapshots + wg sync.WaitGroup ) wg.Add(5) -- cgit v1.2.3