numeric

package
Version: v3.4.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2019 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL