chore(agent): cleanup main.go and /pkg/agent #876

Closed
opened 2026-03-28 04:29:28 +00:00 by mfreeman451 · 1 comment
Owner

Imported from GitHub.

Original GitHub issue: #2534
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2534
Original created: 2026-01-27T06:45:33Z


there is a ton of crap that should not be in there that needs to be moved out into /pkg somewhere

  • cleanup main.go
  • organize pkg/agent/ (snmp, sweep, mapper should be in pkg/agent/sweep, pkg/agent/snmp, etc)
  • why isn't main.go's loadConfig in pkg/config ?
Imported from GitHub. Original GitHub issue: #2534 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/2534 Original created: 2026-01-27T06:45:33Z --- there is a ton of crap that should not be in there that needs to be moved out into `/pkg` somewhere - [ ] cleanup main.go - [ ] organize pkg/agent/ (snmp, sweep, mapper should be in pkg/agent/sweep, pkg/agent/snmp, etc) - [ ] why isn't main.go's loadConfig in pkg/config ?
mfreeman451 added this to the 1.1.1 milestone 2026-03-28 04:29:28 +00:00
Author
Owner

Imported GitHub comment.

Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2534#issuecomment-3813890939
Original created: 2026-01-28T20:56:30Z


closing as completed

Imported GitHub comment. Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/2534#issuecomment-3813890939 Original created: 2026-01-28T20:56:30Z --- closing as completed
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#876
No description provided.