Features: - CLI structure with verbs and resources - Application config and parameters - Output formatters - Initial resource: dishes Reviewed-on: #1 Co-authored-by: bdoerfchen <git@bissendorf.co> Co-committed-by: bdoerfchen <git@bissendorf.co>
13 lines
147 B
Go
13 lines
147 B
Go
package interfaces
|
|
|
|
type Resource interface {
|
|
Kind() string
|
|
|
|
Name() string
|
|
}
|
|
|
|
type ResourceList struct {
|
|
ItemKind string
|
|
Items []Resource
|
|
}
|