Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type By ¶
type By[R record.Record] interface { Less(a, b R) bool // String must return human readable format for debug String() string }
By is base interface for sorting.
type ByWithOrder ¶ added in v0.1.0
ByWithOrder wrapper for By interface with order (ASC/DESC) ByWithOrder can't be implemented in user level, use Asc() and Desc() for wrap By implementation.
Click to show internal directories.
Click to hide internal directories.