Documentation ¶
Overview ¶
Package sort contains the implementation of the sort plugin, which generates the deriveSort function.
The deriveSort function is useful for deterministically ranging over maps when used with deriveKeys. deriveSort supports only the types that deriveCompare supports, since it uses it for sorting.
Example: https://github.com/awalterschulze/goderive/tree/master/example/plugin/sort
Even though sort returns a list it also mutates the input list.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.