numeric

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2020 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) MarshalJSON

func (src Numeric) MarshalJSON() ([]byte, error)

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) UnmarshalJSON

func (dst *Numeric) UnmarshalJSON(b []byte) error

func (Numeric) Value

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

Value implements the database/sql/driver Valuer interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL