package
Version:
v0.0.0-...-3ec19d7
Opens a new window with list of versions in this module.
Published: Jan 19, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package order provides support for describing the ordering of data.
Set of directions for data ordering.
Validate checks the field and direction string for sql injection issues.
By represents a field used to order by and direction.
NewBy constructs a new By value with no checks.
func (b By) IsZeroValue() bool
IsZeroValue checks if the By value is empty.
Order represents a set of fields that represent the allowable fields for
ordering and a default order field.
New constructs a new Order with a specified set of fields.
By constructs a By value from the specified parameters.
Check validates the order by contains expected values.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.