Skip to content

Commit

Permalink
Merge pull request #2 from amorist/dev
Browse files Browse the repository at this point in the history
fix(bson.NewObjectID):
  • Loading branch information
amorist authored Jul 10, 2019
2 parents bec6c27 + 036273b commit 623f0bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bson/bson.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ type A = primitive.A
// ObjectID primitive.ObjectID
type ObjectID = primitive.ObjectID

// NewObjectID primitive.NewObjectID()
var NewObjectID = primitive.NewObjectID()
// NewObjectID primitive.NewObjectID
var NewObjectID = primitive.NewObjectID

// ObjectIDHex primitive.ObjectIDFromHex
var ObjectIDHex = primitive.ObjectIDFromHex
Expand Down

0 comments on commit 623f0bf

Please sign in to comment.