Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add latest mongo drivers #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vmary2014
Copy link

Hi. I thought I would do a PR to include the latest mongo drivers to this repo
I ran into an issue connecting this to Mongo Atlas (and generally mongo with authentication) and the code on master was using a 5 yrs old driver which in the mongodb world is pretty old ;o)
I looked online never done any Go programming but found it valuable to try replace this mongodb service by using the latest official mongodb drivers
This now allows for connection strings such as
mongodb://localhost:27017
mongodb+srv://user:pass@localhost:27017
I tested it and I can perform all functions such as list messages, display one message, search, delete, add...

@Heshmatkhah
Copy link

hi @ian-kent @vmary2014
Ca you merge this?

@vmary2014
Copy link
Author

hi @ian-kent @vmary2014 Ca you merge this?

I'd love to, but the PR is now 4yrs old and I don't have any rights on this. I think this project is not maintained anymore as the last commits to main are like 8yrs old. Shame. Feel free to pick my branch though hopefully it still works with recent versions of the Mongodb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants