diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-07-15 02:13:28 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-07-16 02:48:28 +0000 |
| commit | 8ca1f686bd7d495322a36b5260ce7a303505d8b9 (patch) | |
| tree | 8ad6cc8d0db044896131073e816c29b43a689a73 /internal/models/atom.go | |
| parent | 1d2a76f5f476d338735f4257f8b0e26238dc3170 (diff) | |
chore: remove dead code (unused atom constants, orphaned handler)
- SourceMeal/TypeMeal (AtomSource/AtomType): leftover from the removed
MealToAtom conversion (b2d8fc4); zero references anywhere else.
- HandleGetSourceOptions: never registered as a route, and its own
test comment already noted "may fail if template not found, which
is acceptable" -- the settings-source-options template it rendered
doesn't exist in web/templates/ at all. Fully unreachable/broken,
not just unused.
go build/vet/test all clean, no behavior change for anything reachable.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VTUSAEKfsPc6WGDq45yPHD
Diffstat (limited to 'internal/models/atom.go')
| -rw-r--r-- | internal/models/atom.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/internal/models/atom.go b/internal/models/atom.go index 9f40de6..21d30a6 100644 --- a/internal/models/atom.go +++ b/internal/models/atom.go @@ -10,7 +10,6 @@ type AtomSource string const ( SourceTrello AtomSource = "trello" - SourceMeal AtomSource = "plantoeat" SourceGTasks AtomSource = "gtasks" SourceClaudomator AtomSource = "claudomator" SourceDoot AtomSource = "doot" @@ -20,7 +19,6 @@ type AtomType string const ( TypeTask AtomType = "task" - TypeMeal AtomType = "meal" ) // Atom represents a unified unit of work or information |
