Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TypeUUID = reflect.TypeOf(uuid.UUID{})
Functions ¶
func BuildRegistry ¶
func UUIDDecodeValue ¶
func UUIDDecodeValue(_ bsoncodec.DecodeContext, vr bsonrw.ValueReader, val reflect.Value) error
UUIDDecodeValue attempts to unmarshal a string or a binary with subtype 0x00 (generic) or 0x04 (uuid) into an uuid.UUID type.
func UUIDEncodeValue ¶
func UUIDEncodeValue(_ bsoncodec.EncodeContext, vw bsonrw.ValueWriter, val reflect.Value) error
UUIDEncodeValue attempts to marshal an uuid.UUID type into a MongoDB binary uuid type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.