dmwm / das2go

Go implementation of Data Aggregation System (DAS) for CMS experiment
MIT License
2 stars 3 forks source link

Update mongo driver #59

Open vkuznet opened 1 year ago

vkuznet commented 1 year ago

The current mongo driver is based on mgo which is no longer support MongoDB access for version 5 and above. Now, we should use official mongo driver and corresponding bson. For migration you may use example from OreCast/common/mongo/mongo.go mongo module.