Documentation
¶
Index ¶
- func DecodeBool(value pgtype.Bool) *bool
- func DecodeInt2(value pgtype.Int2) *int16
- func DecodeInt4(value pgtype.Int4) *int32
- func DecodeInt8(value pgtype.Int8) *int64
- func DecodeText(value pgtype.Text) *string
- func DecodeTime(value pgtype.Timestamp) time.Time
- func EncodeBool(value *bool) pgtype.Bool
- func EncodeInt2(value *int16) pgtype.Int2
- func EncodeInt4(value *int32) pgtype.Int4
- func EncodeInt8(value *int64) pgtype.Int8
- func EncodeText(value *string) pgtype.Text
- func EncodeTime(value time.Time) pgtype.Timestamp
- func EncodeUUID(id uuid.UUID) (pgtype.UUID, error)
- func IsUUIDNil(id pgtype.UUID) (bool, error)
- func ParseUUID(id pgtype.UUID) (uuid.UUID, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeBool ¶
func DecodeInt2 ¶
func DecodeInt4 ¶
func DecodeInt8 ¶
func DecodeText ¶
func EncodeBool ¶
func EncodeInt2 ¶
func EncodeInt4 ¶
func EncodeInt8 ¶
func EncodeText ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.