Versions in this module Expand all Collapse all v3 v3.2.0 Jan 14, 2025 Changes in this version + type MongoX struct + func NewMongo(host, port string, username, password string, database, collection string, ...) *MongoX + func (t *MongoX) Delete(ctx context.Context, id string) (int64, error) + func (t *MongoX) DetailEventLog(ctx context.Context, id string) (bson.M, error) + func (t *MongoX) Edit(ctx context.Context, id string, payload any) (int64, error) + func (t *MongoX) EventLogs(ctx context.Context, filter bson.M, page, pageSize int64) ([]bson.M, int64, error)