Documentation ¶
Index ¶
- func Register(m *pgtype.Map)
- func TryWrapNumericEncodePlan(value interface{}) (plan pgtype.WrappedEncodePlanNextSetter, nextValue interface{}, ok bool)
- func TryWrapNumericScanPlan(target interface{}) (plan pgtype.WrappedScanPlanNextSetter, nextDst interface{}, ok bool)
- type Decimal
- func (d Decimal) Float64Value() (pgtype.Float8, error)
- func (d Decimal) Int64Value() (pgtype.Int8, error)
- func (d Decimal) NumericValue() (pgtype.Numeric, error)
- func (d *Decimal) ScanFloat64(v pgtype.Float8) error
- func (d *Decimal) ScanInt64(v pgtype.Int8) error
- func (d *Decimal) ScanNumeric(v pgtype.Numeric) error
- type NumericCodec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TryWrapNumericEncodePlan ¶
func TryWrapNumericEncodePlan(value interface{}) (plan pgtype.WrappedEncodePlanNextSetter, nextValue interface{}, ok bool)
func TryWrapNumericScanPlan ¶
func TryWrapNumericScanPlan(target interface{}) (plan pgtype.WrappedScanPlanNextSetter, nextDst interface{}, ok bool)
Types ¶
type NumericCodec ¶
type NumericCodec struct {
pgtype.NumericCodec
}
func (NumericCodec) DecodeValue ¶
Click to show internal directories.
Click to hide internal directories.