//
pkg.gl
Category
github.com/orijtech/mongo-go-driver
bson
objectid
package
0.0.2
Repository:
https://github.com/orijtech/mongo-go-driver.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
9
Dependents
0
Files
98 SLOC
#
Functions
FromHex
FromHex creates a new ObjectID from a hex string.
New
New generates a new ObjectID.
#
Variables
ErrInvalidHex
ErrInvalidHex indicates that a hex string cannot be converted to an ObjectID.
NilObjectID
NilObjectID is the zero value for ObjectID.
#
Type aliases
ObjectID
ObjectID is the BSON ObjectID type.