item.go

1package lazylist
2
3// Item represents a single item in the lazy-loaded list.
4type Item interface {
5	// Render returns the string representation of the item for the given
6	// width.
7	Render(width int) string
8}