//
pkg.gl
Category
github.com/ardanlabs/encore
business
sdk
order
package
0.0.0-20241212140828-7a61fdfd2204
Repository:
https://github.com/ardanlabs/encore.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
13
Files
58 SLOC
#
Functions
NewBy
NewBy constructs a new By value with no checks.
Parse
Parse constructs a By value by parsing a string in the form of "field,direction" ie "user_id,ASC".
#
Constants
ASC
Set of directions for data ordering.
DESC
Set of directions for data ordering.
#
Structs
By
By represents a field used to order by and direction.