go-chart/sequence.go
2022-01-10 15:52:32 -08:00

7 lines
126 B
Go

package chart
// Sequence is a provider for values for a seq.
type Sequence[A any] interface {
Len() int
GetValue(int) A
}