package
0.0.0-20240702045253-4fa15dba054f
Repository: https://github.com/projecteru2/vmihub.git
Documentation: pkg.go.dev
# Functions
IsValidObjectID returns true if the provided hex string represents a valid ObjectID and false if not.
NewObjectID generates a new ObjectID.
NewObjectIDFromTimestamp generates a new ObjectID based on the given time.
No description provided by the author
ObjectIDFromHex creates a new ObjectID from a hex string.
# Variables
ErrInvalidHex indicates that a hex string cannot be converted to an ObjectID.
NilObjectID is the zero value for ObjectID.
# Type aliases
ObjectID is the BSON ObjectID type.