package uuid

import "github.com/jackc/pgx/pgtype/ext/satori-uuid"

Index

Types

type UUID

type UUID struct {
	UUID   uuid.UUID
	Status pgtype.Status
}

func (*UUID) AssignTo

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

func (*UUID) DecodeBinary

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

func (*UUID) DecodeText

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

func (*UUID) EncodeBinary

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

func (*UUID) EncodeText

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

func (*UUID) Get

func (dst *UUID) Get() interface{}

func (*UUID) Scan

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

Scan implements the database/sql Scanner interface.

func (*UUID) Set

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

func (*UUID) Value

func (src *UUID) Value() (driver.Value, error)

Value implements the database/sql/driver Valuer interface.

Source Files

uuid.go

Version
v3.6.2+incompatible (latest)
Published
Jan 24, 2020
Platform
linux/amd64
Imports
4 packages
Last checked
1 week ago

Tools for package owners.