Item is an item that appears in the list.
| 24 | |
| 25 | // Item is an item that appears in the list. |
| 26 | type Item interface { |
| 27 | // Filter value is the value we use when filtering against this item when |
| 28 | // we're filtering the list. |
| 29 | FilterValue() string |
| 30 | } |
| 31 | |
| 32 | // ItemDelegate encapsulates the general functionality for all list items. The |
| 33 | // benefit to separating this logic from the item itself is that you can change |
no outgoing calls
no test coverage detected