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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址