Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoDecimal ¶
type MongoDecimal struct{}
MongoDecimal is a ValueEncoder and ValueDecoder for encoding decimal.Decimal to Decimal128 and vice versa.
func (*MongoDecimal) DecodeValue ¶
func (dc *MongoDecimal) DecodeValue(ect bsoncodec.DecodeContext, r bsonrw.ValueReader, value reflect.Value) error
func (*MongoDecimal) EncodeValue ¶
func (dc *MongoDecimal) EncodeValue(ect bsoncodec.EncodeContext, w bsonrw.ValueWriter, value reflect.Value) error
Click to show internal directories.
Click to hide internal directories.