Rework search to return a list
Like a proper search would!"
This commit is contained in:
@@ -28,6 +28,11 @@ type (
|
||||
Success bool `json:"success"`
|
||||
Error string `json:"error,omitempty"`
|
||||
}
|
||||
WailsFoodSearch struct {
|
||||
Data []FoodSearch `json:"data"`
|
||||
Success bool `json:"success"`
|
||||
Error string `json:"error,omitempty"`
|
||||
}
|
||||
|
||||
WailsWeight struct {
|
||||
Data []Weight `json:"data"`
|
||||
|
Reference in New Issue
Block a user