19 lines
266 B
Go
19 lines
266 B
Go
package main
|
|
|
|
import (
|
|
"git.cotugno.family/kevin/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
|
|
}
|