From 95a31c179b1eadcfad9ef607b042a3972188c4d0 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Tue, 22 Jul 2014 15:22:29 -0400 Subject: [PATCH] Switch to the latest mgo path. This is not only the right thing to do, as per the documentation of the latest release (yesterday) but it should now be backed by git and not bzr, which is a big plus and won't break our build so much. --- .travis.yml | 4 ++-- graph/mongo/iterator.go | 4 ++-- graph/mongo/triplestore.go | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2e4b9d2..da28a3f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,5 +17,5 @@ install: - go get github.com/syndtr/goleveldb/leveldb/iterator - go get github.com/syndtr/goleveldb/leveldb/opt - go get github.com/syndtr/goleveldb/leveldb/util - - go get labix.org/v2/mgo - - go get labix.org/v2/mgo/bson + - go get gopkg.in/mgo.v2 + - go get gopkg.in/mgo.v2/bson diff --git a/graph/mongo/iterator.go b/graph/mongo/iterator.go index 58c50e4..fcf2c5d 100644 --- a/graph/mongo/iterator.go +++ b/graph/mongo/iterator.go @@ -19,8 +19,8 @@ import ( "strings" "github.com/barakmich/glog" - "labix.org/v2/mgo" - "labix.org/v2/mgo/bson" + "gopkg.in/mgo.v2" + "gopkg.in/mgo.v2/bson" "github.com/google/cayley/graph" "github.com/google/cayley/graph/iterator" diff --git a/graph/mongo/triplestore.go b/graph/mongo/triplestore.go index 81b1ceb..f093c30 100644 --- a/graph/mongo/triplestore.go +++ b/graph/mongo/triplestore.go @@ -20,8 +20,8 @@ import ( "hash" "log" - "labix.org/v2/mgo" - "labix.org/v2/mgo/bson" + "gopkg.in/mgo.v2" + "gopkg.in/mgo.v2/bson" "github.com/barakmich/glog" "github.com/google/cayley/graph"