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

Use gopkg.in/mgo.v2 for mgo imports #3

Open
byrnedo opened this issue Dec 2, 2015 · 0 comments
Open

Use gopkg.in/mgo.v2 for mgo imports #3

byrnedo opened this issue Dec 2, 2015 · 0 comments

Comments

@byrnedo
Copy link

byrnedo commented Dec 2, 2015

Hi,

Great project :)

I was trying to integrate with some code of mine and I got
cannot use mongo.Conn() (type *"gopkg.in/mgo.v2".Session) as type "labix.org/v2/mgo".
I had trouble in the past and apparently it is suggested to use gopkg.in/mgo.v2 instead of labix.org/v2/mgo.

See http://stackoverflow.com/questions/31244438/mgo-newobjectid-corrupt-on-insert for the comment from mgo's maintainer.

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

No branches or pull requests

1 participant