Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ordering ¶
type Ordering interface { Less(dimensions map[string]string, currentOrder []string, i int, j int) bool Sort(dimensions map[string]string) []string }
Ordering describes how dimensions should be sorted
func NewOrdering ¶
NewOrdering creates a sorter that sorts dimensions in dimensionsOrder order, putting any dimension inside dimensionsOrder ahead of any dimension not inside dimensionsOrder
Click to show internal directories.
Click to hide internal directories.