Skip to content

Commit 8f47540

Browse files
Fix incorrect reference of type D
1 parent 6c73638 commit 8f47540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mongo/mongo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func (me MarshalError) Error() string {
6565
// {"$match": bson.D{{"totalPop", bson.D{"$gte", 10*1000*1000}}}},
6666
// }}
6767
//
68-
type Pipeline []D
68+
type Pipeline []bson.D
6969

7070
func transformDocument(registry *bsoncodec.Registry, val interface{}) (*bson.Document, error) {
7171
if registry == nil {

0 commit comments

Comments
 (0)