feat: add universities and restaurants
This commit is contained in:
@ -19,7 +19,7 @@ type ResourceHandler interface {
|
||||
}
|
||||
|
||||
type GetHandler interface {
|
||||
Get(ctx context.Context, params params.Container) (*ResourceList, error)
|
||||
Get(ctx context.Context, name string, params params.Container) (*ResourceList, error)
|
||||
}
|
||||
|
||||
type Verb string
|
||||
|
||||
@ -3,7 +3,7 @@ package interfaces
|
||||
type Resource interface {
|
||||
Kind() string
|
||||
|
||||
Name() string
|
||||
ItemName() string
|
||||
}
|
||||
|
||||
type ResourceList struct {
|
||||
|
||||
Reference in New Issue
Block a user