Versions in this module Expand all Collapse all v0 v0.5.1 Aug 27, 2021 Changes in this version + type Cursor struct + Count int + HasNext bool + HasPrevious bool + Next string + Previous string + func Find(p FindParams, results interface{}) (Cursor, error) + type CursorError struct + func (e *CursorError) Error() string + type FindParams struct + Collation *mgo.Collation + CollectionName string + CountTotal bool + DB MgoDb + Limit int + Next string + PaginatedField string + Previous string + Query bson.M + SortAscending bool + type MgoDb interface + C func(string) *mgo.Collection + type MgoQuery interface + All func(result interface{}) error + Collation func(*mgo.Collation) MgoQuery + Count func() (n int, err error) + Limit func(n int) MgoQuery + Sort func(fields ...string) MgoQuery