Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parse ¶
Parse parses the given string and returns a bson.ObjectId and true if the given value is valid, otherwise it will return an empty bson.ObjectId and false.
This is copy of the bson.ObjectIdHex function, but prevents doing double decode in the classic procedure: if bson.IsObjectId(x) { bson.ObjectIdHex(x} }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.