Versions in this module Expand all Collapse all v0 v0.0.5 Dec 4, 2021 Changes in this version + func BasicURI() *options.ClientOptions + func BsonD(v interface{}) (doc *bson.D, err error) + func ObjectID(id string) primitive.ObjectID + type CTXTimeoutFunc func(...time.Duration) context.Context + type MongoKit interface + Client func() *mongo.Client + Collection func() *mongo.Collection + Connection func(clientOptions *options.ClientOptions) MongoKit + CtxTB func(...time.Duration) context.Context + DB func() *mongo.Database + Error func() error + InitCollection func(interface{}, ...string) MongoKit + InitDB func(db string, option ...*options.DatabaseOptions) MongoKit + Ping func() MongoKit + func InitMongoKit() MongoKit + type Schema struct + CreatedAt time.Time + UpdatedAt time.Time + func SchemaCreated() Schema + func SchemaUpdated() Schema