Closed philippgille closed 8 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
0e6beda
) 60.56% compared to head (6f1def7
) 63.64%.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
When gokv was started, the 3rd-party library
github.com/globalsign/mgo
was the most popular and mature MongoDB client library for Go. But that changed and the official librarygo.mongodb.org/mongo-driver
is now the proper go-to library.mgo
is not maintained anymore and seems to not be compatible with newer versions of the MongoDB server anymore.This PR updates the MongoDB library from
github.com/globalsign/mgo
togo.mongodb.org/mongo-driver
.I haven't tested the new gokv implementation with an older MongoDB server version (where
mgo
still worked), but from the way of how the document is defined, inserted/updated, read and deleted it could be compatible.I'll add a breaking change notice to the CHANGELOG as a warning in any case. (separately)