pgx: github.com/jackc/pgx/pgtype/ext/shopspring-numeric Index | Files

package numeric

import "github.com/jackc/pgx/pgtype/ext/shopspring-numeric"

Index

Package Files

decimal.go

type Numeric Uses

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

func (*Numeric) AssignTo Uses

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

func (*Numeric) DecodeBinary Uses

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

func (*Numeric) DecodeText Uses

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

func (*Numeric) EncodeBinary Uses

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

func (*Numeric) EncodeText Uses

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

func (*Numeric) Get Uses

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

func (*Numeric) Scan Uses

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

Scan implements the database/sql Scanner interface.

func (*Numeric) Set Uses

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

func (*Numeric) Value Uses

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

Value implements the database/sql/driver Valuer interface.

Package numeric imports 5 packages (graph). Updated 2018-03-19. Refresh now. Tools for package owners.