pgtypex

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Geometry

type Geometry struct {
	Geom geom.T
}

func NewGeometry

func NewGeometry(geom geom.T) *Geometry

func (*Geometry) AssignTo added in v0.1.2

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

func (*Geometry) DecodeBinary

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

func (*Geometry) DecodeText added in v0.1.1

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

func (Geometry) EncodeBinary

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

func (Geometry) EncodeText added in v0.1.1

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

func (Geometry) Get added in v0.1.2

func (dst Geometry) Get() interface{}

func (Geometry) PreferredParamFormat added in v0.1.1

func (Geometry) PreferredParamFormat() int16

func (Geometry) PreferredResultFormat added in v0.1.1

func (Geometry) PreferredResultFormat() int16

func (*Geometry) Scan added in v0.1.2

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

Scan implements the database/sql Scanner interface.

func (*Geometry) Set added in v0.1.2

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

func (Geometry) Value added in v0.1.2

func (src Geometry) 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