Documentation ¶
Index ¶
Constants ¶
View Source
const ( String = "string" Semver = "semver" Date = "date" )
The kinds of data that can be in a string field.
View Source
const ( ASC = "asc" DESC = "desc" )
The sorting direction possibilities.
Variables ¶
This section is empty.
Functions ¶
func CompareDates ¶
CompareDates represents the comparison algorithm for string-encoded dates.
func CompareSemvers ¶
CompareSemvers represents the comparison algorithm for string-encoded versions, in semver format.
func CompareStrings ¶
CompareStrings represents the comparison algorithm for regular strings.
Types ¶
Click to show internal directories.
Click to hide internal directories.