Documentation ¶
Index ¶
Constants ¶
View Source
const ( Ascending = Direction(false) Descending = Direction(true) )
The possible sort directions.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Direction ¶
type Direction bool
Direction defines the sort direction.
func (Direction) IsAscending ¶
IsAscending returns true iff the sort direction is ascending.
func (Direction) IsDescending ¶
IsDescending returns true iff the sort direction is descending.
type Order ¶
Order describes the sort direction for a key.
func (Order) IsAscending ¶
IsAscending returns true iff the direction is ascending.
func (Order) IsDescending ¶
IsDescending returns true iff the direction is descending.
Click to show internal directories.
Click to hide internal directories.