summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-28 09:38:15 +0200
committerPaul Buetow <paul@buetow.org>2026-02-28 09:38:15 +0200
commit4521606d7b64234eb8377c3edb8b15fbc4ed97d7 (patch)
tree30e7991012dd14a0c316df712ed35307eb813f4a /src
parenta4b234587cdeed5e1a71c3ee42d5fe35bb7b8a32 (diff)
refactor: extract report config, flags, and rendering into internal package
Add ReportConfig, ReportFlags, RegisterReportFlags, and WriteReports to the internal goprecords package. Both runQuery and runReportFromFiles now use these shared functions, eliminating duplicated flag definitions and report-rendering loops. main.go reduced from 313 to 220 lines. Task: d8f7af80-1aca-4dea-9a20-b8f95640acb7 Amp-Thread-ID: https://ampcode.com/threads/T-019ca323-dde1-73ac-97f0-cebfae5922a5 Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions