Documentation ¶
Index ¶
- type UUID
- func (u UUID) MarshalBSONValue() (bsontype.Type, []byte, error)
- func (u UUID) MarshalJSON() ([]byte, error)
- func (u *UUID) MarshalTo(data []byte) (int, error)
- func (u *UUID) Size() int
- func (u *UUID) Unmarshal(data []byte) error
- func (u *UUID) UnmarshalBSONValue(bsonType bsontype.Type, data []byte) error
- func (u *UUID) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UUID ¶
UUID implements additional interfaces atop the uuid.UUID type.
func (UUID) MarshalBSONValue ¶
MarshalBSONValue implements the bson.ValueMarshaler interface.
func (UUID) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (*UUID) UnmarshalBSONValue ¶
UnmarshalBSONValue implements the bson.ValueUnmarshaler interface.
func (*UUID) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.