pgrange

package
v0.0.0-...-2fef954 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2015 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bounds

type Bounds int
const (
	IncInc Bounds = iota
	IncExc
	ExcInc
	ExcExc
)

func (Bounds) Lower

func (b Bounds) Lower() string

func (Bounds) String

func (b Bounds) String() string

func (Bounds) Upper

func (b Bounds) Upper() string

type IntRange

type IntRange struct {
	Lower  sql.NullInt64
	Upper  sql.NullInt64
	Bounds Bounds
	Valid  bool
}

func (*IntRange) Scan

func (i *IntRange) Scan(value interface{}) error

type NullBytes

type NullBytes struct {
	Valid bool
	Bytes []byte
}

type TsTzRange

type TsTzRange struct {
	Lower  pq.NullTime
	Upper  pq.NullTime
	Bounds Bounds
	Valid  bool
}

func (*TsTzRange) Scan

func (i *TsTzRange) Scan(value interface{}) error

func (TsTzRange) Value

func (i TsTzRange) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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