We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26b2478 commit c22227cCopy full SHA for c22227c
1 file changed
mdl/bsonutil/bsonutil.go
@@ -10,7 +10,7 @@ import (
10
"go.mongodb.org/mongo-driver/bson/primitive"
11
)
12
13
-// IDToBsonBinary converts a hex UUID string to a BSON binary value.
+// IDToBsonBinary converts a UUID string to a BSON binary value.
14
// Panics if id is not a valid UUID — an invalid ID at this layer is always a programming error.
15
func IDToBsonBinary(id string) primitive.Binary {
16
blob := types.UUIDToBlob(id)
0 commit comments