Categorygithub.com/vividcortex/mgo
repositorypackage
0.0.0-20201215173511-ea1d8b1d57d2
Repository: https://github.com/vividcortex/mgo.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# README

The MongoDB driver for Go

Please go to http://labix.org/mgo for all project details.

Testing

Tests require custom orchestration. Install daemontools as a prerequisite and make sure mongod and mongos are in your path. To start the orchestration:

$ export PATH=/path/to/mongodb/bin:$PATH
$ make startdb

To stop the orchestration:

$ make stopdb

Run all tests like this (gocheck.v turns on verbose output):

$ go test -gocheck.v

To run a specific test, use the gocheck.f flag:

$ go test -gocheck.v -gocheck.f TestFindAndModifyBug997828