2019-01-31 00:02:38 +00:00
|
|
|
package data
|
|
|
|
|
2019-02-03 03:30:45 +00:00
|
|
|
import . "github.com/sqshq/termui"
|
|
|
|
|
2019-01-31 00:02:38 +00:00
|
|
|
type Consumer interface {
|
2019-02-03 03:30:45 +00:00
|
|
|
ConsumeSample(sample Sample)
|
|
|
|
}
|
|
|
|
|
|
|
|
type Sample struct {
|
|
|
|
Label string
|
|
|
|
Color Color
|
|
|
|
Value string
|
|
|
|
Error error
|
2019-01-31 00:02:38 +00:00
|
|
|
}
|