diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-13 10:32:48 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-13 10:32:48 +0300 |
| commit | 94aa1d0af0fa4d6c7873a4b5de0f55dfcc0aa03c (patch) | |
| tree | 6ac6194a2271bd0acf3599c0de2c8ce17c81ebb4 /internal/runtime | |
| parent | 75fd7c03b1a8018f85e2da779ab59b86ad0efb58 (diff) | |
enforce gofmt formatting and add Fmt/FmtCheck mage targets
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 <noreply@anthropic.com>
Diffstat (limited to 'internal/runtime')
| -rw-r--r-- | internal/runtime/runtime.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/runtime/runtime.go b/internal/runtime/runtime.go index 307c012..d6500d4 100644 --- a/internal/runtime/runtime.go +++ b/internal/runtime/runtime.go @@ -199,8 +199,8 @@ func TraceFiltersFromContext(ctx context.Context) (globalfilter.Filter, bool) { var ( // *flamegraph.LiveTrie must satisfy both the read-only and mutating sides of // the trie contract as well as the combined LiveTrieSource interface. - _ Snapshotter = (*flamegraph.LiveTrie)(nil) - _ Configurator = (*flamegraph.LiveTrie)(nil) + _ Snapshotter = (*flamegraph.LiveTrie)(nil) + _ Configurator = (*flamegraph.LiveTrie)(nil) _ LiveTrieSource = (*flamegraph.LiveTrie)(nil) // *probemanager.Manager must satisfy the probe-control surface exposed to the TUI. |
