Documentation ¶ Index ¶ type SortFlag type Sorter Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type SortFlag ¶ type SortFlag int SortFlag provides a type for sort flags const ( // SortByKey - sort hash data by key SortByKey SortFlag = iota ) type Sorter ¶ type Sorter interface { // Reverse reverses the order of the data set. Reverse(SortFlag) error // Sort sorts the model data. Sort(SortFlag) error // Len returns the number of items stored in this model. Len() int } Sorter describes a sorter. Source Files ¶ View all Source files sorter.go Click to show internal directories. Click to hide internal directories.