This repository has been archived on 2022-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
spectator/list_entry.go

19 lines
271 B
Go
Raw Normal View History

package main
import (
"git.kevincotugno.com/kcotugno/spectator/exhibit"
)
type ListEntry struct {
Value string
Attrs exhibit.Attributes
}
func (e ListEntry) String() string {
return e.Value
}
func (e ListEntry) Attributes() exhibit.Attributes {
return e.Attrs
}