Skip to content

Commit 6fd340f

Browse files
author
Isabella Siu
committed
GODRIVER-429 move readconcern, readpref, and writeconcern packages to mongo package
Change-Id: Ic87c2210b26ee8005fd5ccf0772f71684747a21e
1 parent 18280a5 commit 6fd340f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+117
-117
lines changed

core/command/aggregate.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import (
1111

1212
"github.com/mongodb/mongo-go-driver/bson"
1313
"github.com/mongodb/mongo-go-driver/core/description"
14-
"github.com/mongodb/mongo-go-driver/core/readconcern"
15-
"github.com/mongodb/mongo-go-driver/core/readpref"
1614
"github.com/mongodb/mongo-go-driver/core/session"
1715
"github.com/mongodb/mongo-go-driver/core/wiremessage"
18-
"github.com/mongodb/mongo-go-driver/core/writeconcern"
16+
"github.com/mongodb/mongo-go-driver/mongo/readconcern"
17+
"github.com/mongodb/mongo-go-driver/mongo/readpref"
18+
"github.com/mongodb/mongo-go-driver/mongo/writeconcern"
1919
"github.com/mongodb/mongo-go-driver/x/bsonx"
2020
)
2121

core/command/command.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ import (
1616
"github.com/mongodb/mongo-go-driver/bson/bsontype"
1717
"github.com/mongodb/mongo-go-driver/bson/primitive"
1818
"github.com/mongodb/mongo-go-driver/core/description"
19-
"github.com/mongodb/mongo-go-driver/core/readconcern"
2019
"github.com/mongodb/mongo-go-driver/core/result"
2120
"github.com/mongodb/mongo-go-driver/core/session"
2221
"github.com/mongodb/mongo-go-driver/core/wiremessage"
23-
"github.com/mongodb/mongo-go-driver/core/writeconcern"
22+
"github.com/mongodb/mongo-go-driver/mongo/readconcern"
23+
"github.com/mongodb/mongo-go-driver/mongo/writeconcern"
2424
"github.com/mongodb/mongo-go-driver/x/bsonx"
2525
)
2626

core/command/command_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"testing"
1111

1212
"github.com/mongodb/mongo-go-driver/core/description"
13-
"github.com/mongodb/mongo-go-driver/core/readpref"
1413
"github.com/mongodb/mongo-go-driver/core/wiremessage"
14+
"github.com/mongodb/mongo-go-driver/mongo/readpref"
1515
)
1616

1717
func noerr(t *testing.T, err error) {

core/command/count.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ import (
1313
"github.com/mongodb/mongo-go-driver/bson"
1414
"github.com/mongodb/mongo-go-driver/bson/bsoncore"
1515
"github.com/mongodb/mongo-go-driver/core/description"
16-
"github.com/mongodb/mongo-go-driver/core/readconcern"
17-
"github.com/mongodb/mongo-go-driver/core/readpref"
1816
"github.com/mongodb/mongo-go-driver/core/session"
1917
"github.com/mongodb/mongo-go-driver/core/wiremessage"
18+
"github.com/mongodb/mongo-go-driver/mongo/readconcern"
19+
"github.com/mongodb/mongo-go-driver/mongo/readpref"
2020
"github.com/mongodb/mongo-go-driver/x/bsonx"
2121
)
2222

core/command/count_documents.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import (
1212

1313
"github.com/mongodb/mongo-go-driver/bson"
1414
"github.com/mongodb/mongo-go-driver/core/description"
15-
"github.com/mongodb/mongo-go-driver/core/readconcern"
16-
"github.com/mongodb/mongo-go-driver/core/readpref"
1715
"github.com/mongodb/mongo-go-driver/core/session"
1816
"github.com/mongodb/mongo-go-driver/core/wiremessage"
17+
"github.com/mongodb/mongo-go-driver/mongo/readconcern"
18+
"github.com/mongodb/mongo-go-driver/mongo/readpref"
1919
"github.com/mongodb/mongo-go-driver/x/bsonx"
2020
)
2121

core/command/create_indexes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"github.com/mongodb/mongo-go-driver/core/result"
1515
"github.com/mongodb/mongo-go-driver/core/session"
1616
"github.com/mongodb/mongo-go-driver/core/wiremessage"
17-
"github.com/mongodb/mongo-go-driver/core/writeconcern"
17+
"github.com/mongodb/mongo-go-driver/mongo/writeconcern"
1818
"github.com/mongodb/mongo-go-driver/x/bsonx"
1919
)
2020

core/command/delete.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"github.com/mongodb/mongo-go-driver/core/result"
1515
"github.com/mongodb/mongo-go-driver/core/session"
1616
"github.com/mongodb/mongo-go-driver/core/wiremessage"
17-
"github.com/mongodb/mongo-go-driver/core/writeconcern"
17+
"github.com/mongodb/mongo-go-driver/mongo/writeconcern"
1818
"github.com/mongodb/mongo-go-driver/x/bsonx"
1919
)
2020

core/command/distinct.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import (
1111

1212
"github.com/mongodb/mongo-go-driver/bson"
1313
"github.com/mongodb/mongo-go-driver/core/description"
14-
"github.com/mongodb/mongo-go-driver/core/readconcern"
15-
"github.com/mongodb/mongo-go-driver/core/readpref"
1614
"github.com/mongodb/mongo-go-driver/core/result"
1715
"github.com/mongodb/mongo-go-driver/core/session"
1816
"github.com/mongodb/mongo-go-driver/core/wiremessage"
17+
"github.com/mongodb/mongo-go-driver/mongo/readconcern"
18+
"github.com/mongodb/mongo-go-driver/mongo/readpref"
1919
"github.com/mongodb/mongo-go-driver/x/bsonx"
2020
)
2121

core/command/drop_collection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/mongodb/mongo-go-driver/core/description"
1414
"github.com/mongodb/mongo-go-driver/core/session"
1515
"github.com/mongodb/mongo-go-driver/core/wiremessage"
16-
"github.com/mongodb/mongo-go-driver/core/writeconcern"
16+
"github.com/mongodb/mongo-go-driver/mongo/writeconcern"
1717
"github.com/mongodb/mongo-go-driver/x/bsonx"
1818
)
1919

core/command/drop_database.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/mongodb/mongo-go-driver/core/description"
1414
"github.com/mongodb/mongo-go-driver/core/session"
1515
"github.com/mongodb/mongo-go-driver/core/wiremessage"
16-
"github.com/mongodb/mongo-go-driver/core/writeconcern"
16+
"github.com/mongodb/mongo-go-driver/mongo/writeconcern"
1717
"github.com/mongodb/mongo-go-driver/x/bsonx"
1818
)
1919

0 commit comments

Comments
 (0)