Skip to content

Commit

Permalink
Fix import path
Browse files Browse the repository at this point in the history
  • Loading branch information
domodwyer committed Apr 18, 2017
1 parent f4993c5 commit 42beecc
Show file tree
Hide file tree
Showing 32 changed files with 47 additions and 47 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: go

go_import_path: github.com/domodwyer/mgo
go_import_path: github.com/globalsign/mgo

addons:
apt:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/domodwyer/mgo.svg?branch=master)](https://travis-ci.org/domodwyer/mgo) [![GoDoc](https://godoc.org/github.com/domodwyer/mgo?status.svg)](https://godoc.org/github.com/domodwyer/mgo)
[![Build Status](https://travis-ci.org/domodwyer/mgo.svg?branch=master)](https://travis-ci.org/domodwyer/mgo) [![GoDoc](https://godoc.org/github.com/globalsign/mgo?status.svg)](https://godoc.org/github.com/globalsign/mgo)

The MongoDB driver for Go
-------------------------
Expand Down
4 changes: 2 additions & 2 deletions auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ import (
"fmt"
"sync"

"github.com/domodwyer/mgo/bson"
"github.com/domodwyer/mgo/internal/scram"
"github.com/globalsign/mgo/bson"
"github.com/globalsign/mgo/internal/scram"
)

type authCmd struct {
Expand Down
2 changes: 1 addition & 1 deletion auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import (
"sync"
"time"

mgo "github.com/domodwyer/mgo"
mgo "github.com/globalsign/mgo"
. "gopkg.in/check.v1"
)

Expand Down
2 changes: 1 addition & 1 deletion bson/bson_corpus_spec_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions bson/bson_corpus_spec_test_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"path/filepath"
"strings"

"github.com/domodwyer/mgo/internal/json"
"github.com/globalsign/mgo/internal/json"
)

func main() {
Expand Down Expand Up @@ -162,7 +162,7 @@ import (
"time"
. "gopkg.in/check.v1"
"github.com/domodwyer/mgo/bson"
"github.com/globalsign/mgo/bson"
)
func testValid(c *C, in []byte, expected []byte, result interface{}) {
Expand Down
2 changes: 1 addition & 1 deletion bson/bson_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import (
"testing"
"time"

"github.com/domodwyer/mgo/bson"
"github.com/globalsign/mgo/bson"
. "gopkg.in/check.v1"
)

Expand Down
2 changes: 1 addition & 1 deletion bson/decimal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
"regexp"
"strings"

"github.com/domodwyer/mgo/bson"
"github.com/globalsign/mgo/bson"

. "gopkg.in/check.v1"
)
Expand Down
2 changes: 1 addition & 1 deletion bson/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strconv"
"time"

"github.com/domodwyer/mgo/internal/json"
"github.com/globalsign/mgo/internal/json"
)

// UnmarshalJSON unmarshals a JSON value that may hold non-standard
Expand Down
2 changes: 1 addition & 1 deletion bson/json_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package bson_test

import (
"github.com/domodwyer/mgo/bson"
"github.com/globalsign/mgo/bson"

"reflect"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion bulk.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"sort"

"github.com/domodwyer/mgo/bson"
"github.com/globalsign/mgo/bson"
)

// Bulk represents an operation that can be prepared with several
Expand Down
2 changes: 1 addition & 1 deletion bulk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
package mgo_test

import (
mgo "github.com/domodwyer/mgo"
mgo "github.com/globalsign/mgo"
. "gopkg.in/check.v1"
)

Expand Down
2 changes: 1 addition & 1 deletion cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import (
"sync"
"time"

"github.com/domodwyer/mgo/bson"
"github.com/globalsign/mgo/bson"
)

// ---------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ import (
"sync"
"time"

mgo "github.com/domodwyer/mgo"
"github.com/domodwyer/mgo/bson"
mgo "github.com/globalsign/mgo"
"github.com/globalsign/mgo/bson"
. "gopkg.in/check.v1"
)

Expand Down
2 changes: 1 addition & 1 deletion dbtest/dbserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strconv"
"time"

mgo "github.com/domodwyer/mgo"
mgo "github.com/globalsign/mgo"
"gopkg.in/tomb.v2"
)

Expand Down
4 changes: 2 additions & 2 deletions dbtest/dbserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"testing"
"time"

mgo "github.com/domodwyer/mgo"
mgo "github.com/globalsign/mgo"
. "gopkg.in/check.v1"

"github.com/domodwyer/mgo/dbtest"
"github.com/globalsign/mgo/dbtest"
)

type M map[string]interface{}
Expand Down
2 changes: 1 addition & 1 deletion gridfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import (
"sync"
"time"

"github.com/domodwyer/mgo/bson"
"github.com/globalsign/mgo/bson"
)

type GridFS struct {
Expand Down
4 changes: 2 additions & 2 deletions gridfs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import (
"os"
"time"

mgo "github.com/domodwyer/mgo"
"github.com/domodwyer/mgo/bson"
mgo "github.com/globalsign/mgo"
"github.com/globalsign/mgo/bson"
. "gopkg.in/check.v1"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/scram/scram_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"strings"

"github.com/domodwyer/mgo/internal/scram"
"github.com/globalsign/mgo/internal/scram"
. "gopkg.in/check.v1"
)

Expand Down
2 changes: 1 addition & 1 deletion saslimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package mgo

import (
"github.com/domodwyer/mgo/internal/sasl"
"github.com/globalsign/mgo/internal/sasl"
)

func saslNew(cred Credential, host string) (saslStepper, error) {
Expand Down
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
"sync"
"time"

"github.com/domodwyer/mgo/bson"
"github.com/globalsign/mgo/bson"
)

// ---------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion session.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import (
"sync"
"time"

"github.com/domodwyer/mgo/bson"
"github.com/globalsign/mgo/bson"
)

type Mode int
Expand Down
4 changes: 2 additions & 2 deletions session_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ import (
"testing"
"time"

mgo "github.com/domodwyer/mgo"
"github.com/domodwyer/mgo/bson"
mgo "github.com/globalsign/mgo"
"github.com/globalsign/mgo/bson"
. "gopkg.in/check.v1"
)

Expand Down
2 changes: 1 addition & 1 deletion socket.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
"sync"
"time"

"github.com/domodwyer/mgo/bson"
"github.com/globalsign/mgo/bson"
)

type replyFunc func(err error, reply *replyOp, docNum int, docData []byte)
Expand Down
4 changes: 2 additions & 2 deletions suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ import (
"testing"
"time"

mgo "github.com/domodwyer/mgo"
"github.com/domodwyer/mgo/bson"
mgo "github.com/globalsign/mgo"
"github.com/globalsign/mgo/bson"
. "gopkg.in/check.v1"
)

Expand Down
2 changes: 1 addition & 1 deletion txn/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"sort"
"sync/atomic"

"github.com/domodwyer/mgo/bson"
"github.com/globalsign/mgo/bson"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions txn/flusher.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package txn
import (
"fmt"

mgo "github.com/domodwyer/mgo"
mgo "github.com/globalsign/mgo"

"github.com/domodwyer/mgo/bson"
"github.com/globalsign/mgo/bson"
)

func flush(r *Runner, t *transaction) error {
Expand Down
8 changes: 4 additions & 4 deletions txn/sim_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"math/rand"
"time"

mgo "github.com/domodwyer/mgo"
"github.com/domodwyer/mgo/bson"
"github.com/domodwyer/mgo/dbtest"
"github.com/domodwyer/mgo/txn"
mgo "github.com/globalsign/mgo"
"github.com/globalsign/mgo/bson"
"github.com/globalsign/mgo/dbtest"
"github.com/globalsign/mgo/txn"
. "gopkg.in/check.v1"
)

Expand Down
2 changes: 1 addition & 1 deletion txn/tarjan.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package txn
import (
"sort"

"github.com/domodwyer/mgo/bson"
"github.com/globalsign/mgo/bson"
)

func tarjanSort(successors map[bson.ObjectId][]bson.ObjectId) [][]bson.ObjectId {
Expand Down
2 changes: 1 addition & 1 deletion txn/tarjan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package txn
import (
"fmt"

"github.com/domodwyer/mgo/bson"
"github.com/globalsign/mgo/bson"
. "gopkg.in/check.v1"
)

Expand Down
4 changes: 2 additions & 2 deletions txn/txn.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
"strings"
"sync"

mgo "github.com/domodwyer/mgo"
mgo "github.com/globalsign/mgo"

"github.com/domodwyer/mgo/bson"
"github.com/globalsign/mgo/bson"

crand "crypto/rand"
mrand "math/rand"
Expand Down
8 changes: 4 additions & 4 deletions txn/txn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"testing"
"time"

mgo "github.com/domodwyer/mgo"
"github.com/domodwyer/mgo/bson"
"github.com/domodwyer/mgo/dbtest"
"github.com/domodwyer/mgo/txn"
mgo "github.com/globalsign/mgo"
"github.com/globalsign/mgo/bson"
"github.com/globalsign/mgo/dbtest"
"github.com/globalsign/mgo/txn"
. "gopkg.in/check.v1"
)

Expand Down

0 comments on commit 42beecc

Please sign in to comment.