Implement basic food service

This commit is contained in:
2024-08-09 16:21:11 +02:00
parent b265a06ce7
commit a23ada9bb0
4 changed files with 305 additions and 18 deletions

View File

@@ -3,21 +3,7 @@ package main
import "time"
type (
Food struct {
rowid int
date time.Time
food string
descripton string
amount float32
per100 float32
energy float32
}
AggregatedFood struct {
period string
amount float32
avgPer100 float32
energy float32
}
Weight struct {
rowid int
date time.Time