Skip to content

Split traffic.go into focused files - #21

Merged
galjos merged 1 commit into
mainfrom
fix/traffic-split-20260922
Sep 22, 2026
Merged

galjos merged 1 commit into
mainfrom
fix/traffic-split-20260922

Conversation

@galjos

@galjos galjos commented Sep 22, 2026

Copy link
Copy Markdown
Owner

Closes #20. Pure move, no JSON contract change: traffic.go keeps types, command definition, and the ODH pipeline; normalization, filtering, rendering, catalog, geo math, and shared feed helpers move to traffic_{normalize,filter,render,catalog,geo,feed}.go. All 61 functions verified verbatim against the pre-split file by scripted diff. Also removes the firstNonEmptyString near-duplicate and fixes a 7-cell markdown separator under the 6-column table. gofmt, vet, full suite green.

traffic.go carried CLI definition, pipeline, normalization, filtering, rendering, catalog, geo math, and shared feed helpers. Now: traffic.go (types, command, ODH pipeline), traffic_normalize/filter/render/catalog/geo/feed.go, text.go already holds the shared text helpers. All 61 functions moved verbatim; verified by scripted diff against the pre-split file. Removes the firstNonEmptyString near-duplicate in diagnostics.go and fixes a 7-cell markdown separator under the 6-column traffic table. Closes #20.
@galjos
galjos merged commit 1f85bfe into main Sep 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Split traffic.go god file into focused files

1 participant