Okay, to avoid similar pain in terms of API breakage in the future,
and to also improve the migration experience this time around, the
import paths for mgo are changing so that they are versioned and may
be be moved forward without breaking people's code.
There are now two different import paths, one with the new API (v2),
and one with the old one (v1):
"
labix.org/v2/mgo" // This is the latest one, with r2012.06.22
"
labix.org/v1/mgo" // This is the previous one, last updated on r2012.05.21
These URLs may also be used to read the API documentation for the
respective API version.
The old import path will not work anymore, and if used will error out
informing the new import path location.
Thanks to Sankar P. for pushing me to do what I should have done before.
gustavo @
http://niemeyer.net