Skip to content

Commit 654eaee

Browse files
authored
Merge pull request globalsign#1 from globalsign/bugfix/package-imports
Fix import path
2 parents 37e76ea + 9f057f1 commit 654eaee

32 files changed

+47
-47
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: go
22

3-
go_import_path: github.com/domodwyer/mgo
3+
go_import_path: github.com/globalsign/mgo
44

55
addons:
66
apt:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![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)
1+
[![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)
22

33
The MongoDB driver for Go
44
-------------------------

auth.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ import (
3434
"fmt"
3535
"sync"
3636

37-
"github.com/domodwyer/mgo/bson"
38-
"github.com/domodwyer/mgo/internal/scram"
37+
"github.com/globalsign/mgo/bson"
38+
"github.com/globalsign/mgo/internal/scram"
3939
)
4040

4141
type authCmd struct {

auth_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import (
3838
"sync"
3939
"time"
4040

41-
mgo "github.com/domodwyer/mgo"
41+
mgo "github.com/globalsign/mgo"
4242
. "gopkg.in/check.v1"
4343
)
4444

bson/bson_corpus_spec_test.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bson/bson_corpus_spec_test_generator.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"path/filepath"
1313
"strings"
1414

15-
"github.com/domodwyer/mgo/internal/json"
15+
"github.com/globalsign/mgo/internal/json"
1616
)
1717

1818
func main() {
@@ -162,7 +162,7 @@ import (
162162
"time"
163163
164164
. "gopkg.in/check.v1"
165-
"github.com/domodwyer/mgo/bson"
165+
"github.com/globalsign/mgo/bson"
166166
)
167167
168168
func testValid(c *C, in []byte, expected []byte, result interface{}) {

bson/bson_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import (
3737
"testing"
3838
"time"
3939

40-
"github.com/domodwyer/mgo/bson"
40+
"github.com/globalsign/mgo/bson"
4141
. "gopkg.in/check.v1"
4242
)
4343

bson/decimal_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import (
3333
"regexp"
3434
"strings"
3535

36-
"github.com/domodwyer/mgo/bson"
36+
"github.com/globalsign/mgo/bson"
3737

3838
. "gopkg.in/check.v1"
3939
)

bson/json.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"strconv"
88
"time"
99

10-
"github.com/domodwyer/mgo/internal/json"
10+
"github.com/globalsign/mgo/internal/json"
1111
)
1212

1313
// UnmarshalJSON unmarshals a JSON value that may hold non-standard

bson/json_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package bson_test
22

33
import (
4-
"github.com/domodwyer/mgo/bson"
4+
"github.com/globalsign/mgo/bson"
55

66
"reflect"
77
"strings"

bulk.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"bytes"
55
"sort"
66

7-
"github.com/domodwyer/mgo/bson"
7+
"github.com/globalsign/mgo/bson"
88
)
99

1010
// Bulk represents an operation that can be prepared with several

bulk_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
package mgo_test
2828

2929
import (
30-
mgo "github.com/domodwyer/mgo"
30+
mgo "github.com/globalsign/mgo"
3131
. "gopkg.in/check.v1"
3232
)
3333

cluster.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import (
3535
"sync"
3636
"time"
3737

38-
"github.com/domodwyer/mgo/bson"
38+
"github.com/globalsign/mgo/bson"
3939
)
4040

4141
// ---------------------------------------------------------------------------

cluster_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ import (
3434
"sync"
3535
"time"
3636

37-
mgo "github.com/domodwyer/mgo"
38-
"github.com/domodwyer/mgo/bson"
37+
mgo "github.com/globalsign/mgo"
38+
"github.com/globalsign/mgo/bson"
3939
. "gopkg.in/check.v1"
4040
)
4141

dbtest/dbserver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strconv"
1010
"time"
1111

12-
mgo "github.com/domodwyer/mgo"
12+
mgo "github.com/globalsign/mgo"
1313
"gopkg.in/tomb.v2"
1414
)
1515

dbtest/dbserver_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import (
55
"testing"
66
"time"
77

8-
mgo "github.com/domodwyer/mgo"
8+
mgo "github.com/globalsign/mgo"
99
. "gopkg.in/check.v1"
1010

11-
"github.com/domodwyer/mgo/dbtest"
11+
"github.com/globalsign/mgo/dbtest"
1212
)
1313

1414
type M map[string]interface{}

gridfs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import (
3636
"sync"
3737
"time"
3838

39-
"github.com/domodwyer/mgo/bson"
39+
"github.com/globalsign/mgo/bson"
4040
)
4141

4242
type GridFS struct {

gridfs_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ import (
3131
"os"
3232
"time"
3333

34-
mgo "github.com/domodwyer/mgo"
35-
"github.com/domodwyer/mgo/bson"
34+
mgo "github.com/globalsign/mgo"
35+
"github.com/globalsign/mgo/bson"
3636
. "gopkg.in/check.v1"
3737
)
3838

internal/scram/scram_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
"strings"
88

9-
"github.com/domodwyer/mgo/internal/scram"
9+
"github.com/globalsign/mgo/internal/scram"
1010
. "gopkg.in/check.v1"
1111
)
1212

saslimpl.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
package mgo
44

55
import (
6-
"github.com/domodwyer/mgo/internal/sasl"
6+
"github.com/globalsign/mgo/internal/sasl"
77
)
88

99
func saslNew(cred Credential, host string) (saslStepper, error) {

server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import (
3333
"sync"
3434
"time"
3535

36-
"github.com/domodwyer/mgo/bson"
36+
"github.com/globalsign/mgo/bson"
3737
)
3838

3939
// ---------------------------------------------------------------------------

session.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import (
4141
"sync"
4242
"time"
4343

44-
"github.com/domodwyer/mgo/bson"
44+
"github.com/globalsign/mgo/bson"
4545
)
4646

4747
type Mode int

session_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ import (
3838
"testing"
3939
"time"
4040

41-
mgo "github.com/domodwyer/mgo"
42-
"github.com/domodwyer/mgo/bson"
41+
mgo "github.com/globalsign/mgo"
42+
"github.com/globalsign/mgo/bson"
4343
. "gopkg.in/check.v1"
4444
)
4545

socket.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import (
3333
"sync"
3434
"time"
3535

36-
"github.com/domodwyer/mgo/bson"
36+
"github.com/globalsign/mgo/bson"
3737
)
3838

3939
type replyFunc func(err error, reply *replyOp, docNum int, docData []byte)

suite_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ import (
3838
"testing"
3939
"time"
4040

41-
mgo "github.com/domodwyer/mgo"
42-
"github.com/domodwyer/mgo/bson"
41+
mgo "github.com/globalsign/mgo"
42+
"github.com/globalsign/mgo/bson"
4343
. "gopkg.in/check.v1"
4444
)
4545

txn/debug.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"sort"
77
"sync/atomic"
88

9-
"github.com/domodwyer/mgo/bson"
9+
"github.com/globalsign/mgo/bson"
1010
)
1111

1212
var (

txn/flusher.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package txn
33
import (
44
"fmt"
55

6-
mgo "github.com/domodwyer/mgo"
6+
mgo "github.com/globalsign/mgo"
77

8-
"github.com/domodwyer/mgo/bson"
8+
"github.com/globalsign/mgo/bson"
99
)
1010

1111
func flush(r *Runner, t *transaction) error {

txn/sim_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import (
55
"math/rand"
66
"time"
77

8-
mgo "github.com/domodwyer/mgo"
9-
"github.com/domodwyer/mgo/bson"
10-
"github.com/domodwyer/mgo/dbtest"
11-
"github.com/domodwyer/mgo/txn"
8+
mgo "github.com/globalsign/mgo"
9+
"github.com/globalsign/mgo/bson"
10+
"github.com/globalsign/mgo/dbtest"
11+
"github.com/globalsign/mgo/txn"
1212
. "gopkg.in/check.v1"
1313
)
1414

txn/tarjan.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package txn
33
import (
44
"sort"
55

6-
"github.com/domodwyer/mgo/bson"
6+
"github.com/globalsign/mgo/bson"
77
)
88

99
func tarjanSort(successors map[bson.ObjectId][]bson.ObjectId) [][]bson.ObjectId {

txn/tarjan_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package txn
33
import (
44
"fmt"
55

6-
"github.com/domodwyer/mgo/bson"
6+
"github.com/globalsign/mgo/bson"
77
. "gopkg.in/check.v1"
88
)
99

txn/txn.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import (
1414
"strings"
1515
"sync"
1616

17-
mgo "github.com/domodwyer/mgo"
17+
mgo "github.com/globalsign/mgo"
1818

19-
"github.com/domodwyer/mgo/bson"
19+
"github.com/globalsign/mgo/bson"
2020

2121
crand "crypto/rand"
2222
mrand "math/rand"

txn/txn_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import (
77
"testing"
88
"time"
99

10-
mgo "github.com/domodwyer/mgo"
11-
"github.com/domodwyer/mgo/bson"
12-
"github.com/domodwyer/mgo/dbtest"
13-
"github.com/domodwyer/mgo/txn"
10+
mgo "github.com/globalsign/mgo"
11+
"github.com/globalsign/mgo/bson"
12+
"github.com/globalsign/mgo/dbtest"
13+
"github.com/globalsign/mgo/txn"
1414
. "gopkg.in/check.v1"
1515
)
1616

0 commit comments

Comments
 (0)