Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyQueryOpts ¶
func ApplyQueryOpts(opts ...QueryOpt) *options.FindOptions
func CloseMongo ¶
func CloseMongo() error
func GetMongoDB ¶
func InitMongoDB ¶
func InitMongoDB(c *MongoConf)
func NewMongoCollection ¶
func NewMongoCollection(coll string) *mongo.Collection
Types ¶
type QueryOpt ¶
type QueryOpt func(*QueryOptions)
Click to show internal directories.
Click to hide internal directories.