package
0.3.0
Repository: https://github.com/mongodb/mongo-go-driver.git
Documentation: pkg.go.dev

# Functions

NewDecimal128 creates a Decimal128 using the provide high and low uint64s.
NewObjectID generates a new ObjectID.
ObjectIDFromHex creates a new ObjectID from a hex string.
ParseDecimal128 takes the given string and attempts to parse it into a valid Decimal128 value.

# Variables

ErrInvalidHex indicates that a hex string cannot be converted to an ObjectID.
NilObjectID is the zero value for ObjectID.

# Structs

Binary represents a BSON binary value.
CodeWithScope represents a BSON JavaScript code with scope value.
DBPointer represents a BSON dbpointer value.
Decimal128 holds decimal128 BSON values.
E represents a BSON element for a D.
MaxKey represents the BSON maxkey value.
MinKey represents the BSON minkey value.
Null repreesnts the BSON null value.
Regex represents a BSON regex value.
Timestamp represents a BSON timestamp value.
Undefined represents the BSON undefined value type.

# Type aliases

An A represents a BSON array.
D represents a BSON Document.
DateTime represents the BSON datetime value.
JavaScript represents a BSON JavaScript code value.
M is an unordered, concise representation of a BSON Document.
ObjectID is the BSON ObjectID type.
Symbol represents a BSON symbol value.