Getting started

To get the package, execute:

go get gopkg.in/mgo.v2/bson

To import this package, add the following line to your code:

import "gopkg.in/mgo.v2/bson"

Refer to it as bson.

For more details, see the API documentation.

Versions

v2v2