Implement creating food
This commit is contained in:
@@ -16,11 +16,15 @@ type (
|
||||
Error string `json:"error,omitempty"`
|
||||
}
|
||||
WailsFood1 struct {
|
||||
Data Food `json:"data"`
|
||||
Data Food `json:"data"`
|
||||
Success bool `json:"success"`
|
||||
Error string `json:"error,omitempty"`
|
||||
}
|
||||
|
||||
WailsPer100 struct {
|
||||
Data float32 `json:"data"`
|
||||
Success bool `json:"success"`
|
||||
Error string `json:"error,omitempty"`
|
||||
}
|
||||
WailsAggregateFood struct {
|
||||
Data []AggregatedFood `json:"data"`
|
||||
Success bool `json:"success"`
|
||||
|
Reference in New Issue
Block a user