- The package name from gobson has changed to bson. You should
now import from "launchpad.net/gobson/bson".
- Run is now a method on a Database as well, in addition to the Session
(thanks to Gary Burd for the suggestion):
- Missing Remove and RemoveAll methods implemented (also
pointed out by Gary):
In addition to these, convenient support for tailable cursors is in the works,
and will be available soon.
> Does mgo use gobson under the hood, or I have to programatically serialize
> and deserialize?
Right, it's done automatically for you.
You'll only have to use gobson directly if you want to use some of the
bson-specific types (e.g. bson.D, bson.ObjectId, etc), but even then
you don't have to serialize/deserialize those types by hand.. just use
them in your maps/structs/etc.