package
Version:
v4.0.1-rc4
Opens a new window with list of versions in this module.
Published: Oct 15, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package collate provides collation primitives.
type Collation interface {
Eq(i, j interface{}) bool
LT(i, j interface{}) bool
LTE(i, j interface{}) bool
GT(i, j interface{}) bool
GTE(i, j interface{}) bool
}
Collation provides an interface around a CouchDB collation definition.
Raw provides raw (byte-wise) collation of strings.
func (r *Raw) Eq(i, j interface{}) bool
Eq returns true if i and j are equal.
func (r *Raw) GT(i, j interface{}) bool
GT returns true if i is greater than j.
func (r *Raw) GTE(i, j interface{}) bool
GTE returns true if i is greater than or equal to j.
func (r *Raw) LT(i, j interface{}) bool
LT returns true if i is less than j.
func (r *Raw) LTE(i, j interface{}) bool
LTE returns true if i is less than or equal to j.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.