Documentation ¶
Index ¶
Constants ¶
View Source
const ACCURACY = 0.000001
Variables ¶
View Source
var ( ElementNotfound = errors.New("element not found") ParseError = errors.New("parse error") DocumentError = errors.New("doc is nil") NoMoreData = errors.New("no more data") MongoCfgError = errors.New("mongo config should not nil") ConnectError = errors.New("database connect failed") PingError = errors.New("connect ping is not through") CollectionNotFound = errors.New("collection not found") )
Error codes returned by failures to parse an expression.
Functions ¶
func CompareSlice ¶
Types ¶
type Comparable ¶
type Comparable interface {
Compare(a, b interface{}) int
}
Click to show internal directories.
Click to hide internal directories.