From b1774162046ded43e3f9e8d20f8861f692b95b52 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Fri, 9 Aug 2024 17:46:50 +0200 Subject: [PATCH] Implement calling GetFood from FE --- .gitignore | 1 + frontend/src/App.svelte | 9 ++------ frontend/wailsjs/go/main/App.d.ts | 5 ++-- frontend/wailsjs/go/main/App.js | 8 ++----- frontend/wailsjs/go/models.ts | 17 ++++++++++++++ main.go | 38 ------------------------------- 6 files changed, 24 insertions(+), 54 deletions(-) create mode 100644 frontend/wailsjs/go/models.ts diff --git a/.gitignore b/.gitignore index bd85d31..c05c3d1 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ food.db food.db-shm food.db-wal main.log +calorie-counter-res.syso diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte index f03a624..b7e722b 100644 --- a/frontend/src/App.svelte +++ b/frontend/src/App.svelte @@ -1,14 +1,9 @@