init
This commit is contained in:
commit
23c7133fa9
33 files changed
+2896
No files matched your search
@@ -0,0 +1,12 @@
|
||||
package ui
|
||||
|
||||
// simpleItem is a minimal bubbles/list.DefaultItem implementation reused
|
||||
// across every list screen (users, groups, hosts, export selection) so we
|
||||
// don't need a bespoke type per data kind.
|
||||
type simpleItem struct {
|
||||
id, title, desc string
|
||||
}
|
||||
|
||||
func (i simpleItem) Title() string { return i.title }
|
||||
func (i simpleItem) Description() string { return i.desc }
|
||||
func (i simpleItem) FilterValue() string { return i.title }
|
||||
Reference in new issue
Block a user