Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
DateTime type.
Functions ¶
This section is empty.
Types ¶
type DateTimeCodec ¶
type DateTimeCodec struct{}
DateTimeCodec is the Codec used for *datetime.DateTime values.
func NewDateTimeCodec ¶
func NewDateTimeCodec() *DateTimeCodec
NewDateTimeCodec returns a DateTimeCodec.
func (*DateTimeCodec) DecodeValue ¶
func (c *DateTimeCodec) DecodeValue(dc bsoncodec.DecodeContext, vr bsonrw.ValueReader, v reflect.Value) error
DecodeValue is the ValueDecoderFunc for *datetime.DateTime.
func (*DateTimeCodec) EncodeValue ¶
func (c *DateTimeCodec) EncodeValue(ec bsoncodec.EncodeContext, vw bsonrw.ValueWriter, v reflect.Value) error
EncodeValue is the ValueEncoderFunc for *datetime.DateTime.
Click to show internal directories.
Click to hide internal directories.