Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Numeric

type Numeric struct {
	Decimal decimal.Decimal
	Status  pgtype.Status
}

func (*Numeric) AssignTo

func (src *Numeric) AssignTo(dst interface{}) error

func (*Numeric) DecodeBinary

func (dst *Numeric) DecodeBinary(ci *pgtype.ConnInfo, src []byte) error

func (*Numeric) DecodeText

func (dst *Numeric) DecodeText(ci *pgtype.ConnInfo, src []byte) error

func (*Numeric) EncodeBinary

func (src *Numeric) EncodeBinary(ci *pgtype.ConnInfo, buf []byte) ([]byte, error)

func (*Numeric) EncodeText

func (src *Numeric) EncodeText(ci *pgtype.ConnInfo, buf []byte) ([]byte, error)

func (*Numeric) Get

func (dst *Numeric) Get() interface{}

func (*Numeric) Scan

func (dst *Numeric) Scan(src interface{}) error

    Scan implements the database/sql Scanner interface.

    func (*Numeric) Set

    func (dst *Numeric) Set(src interface{}) error

    func (*Numeric) Value

    func (src *Numeric) Value() (driver.Value, error)

      Value implements the database/sql/driver Valuer interface.

      Source Files