Fact 7
Metrics-router code retained in the Go repository must use strict gofmt formatting, a standing convention since the previous year's rewrite.
Source evidence (1)
000019Mar 12, 2023 / 11:00 UTC-04:00
ok so for the metrics-router config-loader cleanup i'm not trying to get fancy with it. mostly want one path for env/file overrides and kill the little helper pile that grew around the rewrite. if a thing stays in metrics-router it should look like the rest of the Go repo: gofmt strict, table-driven tests on the routing logic, and no log.Fatal in handlers bc i don't want request code deciding the process dies. that's been the standing convention there since last year's rewrite anyway. leaning small PRs over one huge sweep -- loader first, then test fixtures, then the handler bits that still have old assumptions from legacy-aggregator.
Message 000019 in history