diff options
Diffstat (limited to 'internal/api')
| -rw-r--r-- | internal/api/interfaces.go | 1 | ||||
| -rw-r--r-- | internal/api/plantoeat.go | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/internal/api/interfaces.go b/internal/api/interfaces.go index 1c102a7..c9962c9 100644 --- a/internal/api/interfaces.go +++ b/internal/api/interfaces.go @@ -33,7 +33,6 @@ type PlanToEatAPI interface { GetUpcomingMeals(ctx context.Context, days int) ([]models.Meal, error) GetShoppingList(ctx context.Context) ([]models.ShoppingItem, error) GetRecipes(ctx context.Context) error - AddMealToPlanner(ctx context.Context, recipeID string, date time.Time, mealType string) error } // GoogleCalendarAPI defines the interface for Google Calendar operations diff --git a/internal/api/plantoeat.go b/internal/api/plantoeat.go index ab5d2cd..770987a 100644 --- a/internal/api/plantoeat.go +++ b/internal/api/plantoeat.go @@ -7,7 +7,6 @@ import ( "log" "net/http" "strings" - "time" "github.com/PuerkitoBio/goquery" @@ -190,11 +189,6 @@ func (c *PlanToEatClient) GetRecipes(ctx context.Context) error { return fmt.Errorf("not implemented yet") } -// AddMealToPlanner adds a meal to the planner (for Phase 2) -func (c *PlanToEatClient) AddMealToPlanner(ctx context.Context, recipeID string, date time.Time, mealType string) error { - return fmt.Errorf("not implemented yet") -} - // GetShoppingList fetches the shopping list by scraping the web interface // Requires a valid session cookie set via SetSessionCookie func (c *PlanToEatClient) GetShoppingList(ctx context.Context) ([]models.ShoppingItem, error) { |
