mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 17:43:35 -06:00
8 lines
246 B
Go
8 lines
246 B
Go
package logproto
|
|
|
|
type Streams []Stream
|
|
|
|
func (xs Streams) Len() int { return len(xs) }
|
|
func (xs Streams) Swap(i, j int) { xs[i], xs[j] = xs[j], xs[i] }
|
|
func (xs Streams) Less(i, j int) bool { return xs[i].Labels <= xs[j].Labels }
|