Documentation ¶
Index ¶
- func Register(typeMap *pgtype.Map)
- func TryWrapNumericEncodePlan(value interface{}) (pgtype.WrappedEncodePlanNextSetter, interface{}, bool)
- func TryWrapNumericScanPlan(target interface{}) (pgtype.WrappedScanPlanNextSetter, interface{}, bool)
- type ComposeError
- type Decimal
- func (d *Decimal) Compose(form byte, negative bool, coefficient []byte, exponent int32) error
- func (d *Decimal) Decompose(buf []byte) (form byte, negative bool, coefficient []byte, exponent int32)
- func (d Decimal) NumericValue() (pgtype.Numeric, error)
- func (d *Decimal) ScanNumeric(val pgtype.Numeric) error
- type NoPlanError
- type NumericCodec
- type ScanError
- type ScanNumericError
- type TypeAssertError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TryWrapNumericEncodePlan ¶
func TryWrapNumericEncodePlan( value interface{}, ) (pgtype.WrappedEncodePlanNextSetter, interface{}, bool)
func TryWrapNumericScanPlan ¶
func TryWrapNumericScanPlan( target interface{}, ) (pgtype.WrappedScanPlanNextSetter, interface{}, bool)
Types ¶
type ComposeError ¶
type ComposeError struct {
Val interface{}
}
func (ComposeError) Error ¶
func (e ComposeError) Error() string
type Decimal ¶
func (*Decimal) Compose ¶
ported from https://github.com/ericlagergren/decimal/blob/495c53812d05/decomposer.go#L76
type NoPlanError ¶
type NoPlanError struct{}
func (NoPlanError) Error ¶
func (e NoPlanError) Error() string
type NumericCodec ¶
type NumericCodec struct {
pgtype.NumericCodec
}
func (NumericCodec) DecodeValue ¶
type ScanNumericError ¶
type ScanNumericError struct {
Val interface{}
}
func (ScanNumericError) Error ¶
func (e ScanNumericError) Error() string
type TypeAssertError ¶
type TypeAssertError struct{}
func (TypeAssertError) Error ¶
func (e TypeAssertError) Error() string
Click to show internal directories.
Click to hide internal directories.