Files
unifood/core/interfaces/resource.go
bdoerfchen 4b7866da03 feat: add universities and restaurants (#4)
Features:
- Allow to search for individual resources by their name
- Add new resources and their handler: Universities, Restaurants
- Added new parameter to reverse output order

Reviewed-on: #4
Co-authored-by: bdoerfchen <git@bissendorf.co>
Co-committed-by: bdoerfchen <git@bissendorf.co>
2025-07-20 22:13:03 +00:00

13 lines
151 B
Go

package interfaces
type Resource interface {
Kind() string
ItemName() string
}
type ResourceList struct {
ItemKind string
Items []Resource
}