The MongoDB driver for Go. UNMAINTAINED - SEE BELOW
Go C Other
Permalink
Failed to load latest commit information.
bson bson: initialize id counter from time Jul 4, 2018
dbtest Merge v2-unstable into v2. Feb 4, 2016
harness Prevent attempt to double-start test daemons. Mar 14, 2016
internal Merge v2-unstable into v2. Aug 1, 2016
txn Merge v2-unstable into v2. Aug 1, 2016
.travis.yml Merge branch 'v2' into v2-unstable. Jul 5, 2018
LICENSE The "out" option in the MapReduce command must be ordered. This was Sep 4, 2013
Makefile Rename testdb to harness. Mar 3, 2016
README.md Fix typos in README. Jan 12, 2018
auth.go Preparing release of v2 r2015.01.24. Jan 24, 2015
auth_test.go Merge v2-unstable into v2. Aug 1, 2016
bulk.go Merge v2-unstable into v2. Feb 4, 2016
bulk_test.go Merge v2-unstable into v2. Feb 4, 2016
cluster.go Merge v2-unstable into v2. Aug 1, 2016
cluster_test.go Merge v2-unstable into v2. Aug 1, 2016
doc.go Add note on unmaintained status. Jul 5, 2018
export_test.go Expose pool limit setting via Session.SetPoolLimit. Jul 21, 2014
gridfs.go Merge v2-unstable into v2. Aug 1, 2016
gridfs_test.go Preparing release of v2 r2015.01.24. Jan 24, 2015
log.go mgo: optimize seeking to end of GridFS file Aug 12, 2014
queue.go go fmt Jun 17, 2013
queue_test.go Move package to gopkg.in. Jul 16, 2014
raceoff.go mgo: optimize seeking to end of GridFS file Aug 12, 2014
raceon.go Add missing files defining raceDetector. Jul 1, 2014
saslimpl.go Merge v2-unstable into v2. May 29, 2015
saslstub.go Experimental SASL support. Mar 12, 2014
server.go Merge v2-unstable into v2. Aug 1, 2016
session.go Merge branch 'v2' into v2-unstable. Jul 5, 2018
session_test.go Fix the IsDup retry error handling on Apply. Aug 11, 2016
socket.go Merge v2-unstable into v2. Feb 4, 2016
stats.go Add number of clusters alive to statistics, and add leak check to suite. Jun 17, 2013
suite_test.go Merge v2-unstable into v2. Aug 1, 2016
syscall_test.go Drop panic making the test suite not run on windows. Sep 18, 2014
syscall_windows_test.go Drop panic making the test suite not run on windows. Sep 18, 2014

README.md

THIS IS UNMAINTAINED

Seven years after creating the mgo driver, I'm formally pausing my work on its maintenance. There are multiple reasons for that, but the main ones are that I've stopped using MongoDB for any new projects, and supporting its good community was taking too much of my personal time without a relevant benefit for those around me.

Moving forward I would suggest you to look at one of these options:

  • globalsign/mgo - Community supported fork of mgo.
  • BoltDB - Single file in-memory document database for Go.
  • Badger - Fast in-memory document database for Go.
  • DGraph - Distributed graph database on top of Badger.
  • lib/pq - PostgreSQL driver in pure Go.

For technical questions related to mgo, Stack Overflow is the best place to continue obtaining support from the community.

For personal contact, gustavo at http://niemeyer.net.