feat: add universities and restaurants
This commit is contained in:
@ -10,9 +10,10 @@ type Resource struct {
|
||||
Description string
|
||||
}
|
||||
|
||||
func (r *Resource) Kind() string { return ResourceResource }
|
||||
func (r *Resource) Name() string { return r.ResourceName }
|
||||
func (r *Resource) Kind() string { return ResourceResource }
|
||||
func (r *Resource) ItemName() string { return r.ResourceName }
|
||||
|
||||
// Table output
|
||||
func (r *Resource) ColumnNames() []string { return []string{"Aliases", "Description"} }
|
||||
func (r *Resource) Columns() []any {
|
||||
return []any{strings.Join(r.Aliases, ", "), r.Description}
|
||||
|
||||
Reference in New Issue
Block a user