Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FuzzyMatchValue ¶
type FuzzyMatchValue struct {
Value string
}
FuzzyMatchValue query
func NewFuzzyMatchValue ¶
func NewFuzzyMatchValue(value string) *FuzzyMatchValue
NewFuzzyMatchValue creates a new fuzzy match
type Query ¶
type Query struct { // Filter list Keywords KeyWords // Sort list Sorts []*Sort // Page number PageNumber int64 // Page size PageSize int64 // Deprecate, use "Sorts" instead Sorting string }
Query parameters
func Build ¶
Build query sting, sort and pagination information into the Query model query string format: q=k=v,k=~v,k=[min~max],k={v1 v2 v3},k=(v1 v2 v3) exact match: k=v fuzzy match: k=~v range: k=[min~max] or list: k={v1 v2 v3} and list: k=(v1 v2 v3) sort format: sort=k1,-k2
Click to show internal directories.
Click to hide internal directories.