types

package
v0.0.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSON

type JSON struct {
	// contains filtered or unexported fields
}

func (*JSON) Scan

func (j *JSON) Scan(src any) error

func (*JSON) Value

func (j *JSON) Value() (driver.Value, error)

type NullUint64

type NullUint64 struct {
	UInt64 uint64
	Valid  bool // Valid is true if Int64 is not NULL
}

func (*NullUint64) Scan

func (n *NullUint64) Scan(value interface{}) error

func (*NullUint64) Value

func (n *NullUint64) Value() (driver.Value, error)

type Temporal

type Temporal struct {
	// contains filtered or unexported fields
}

Temporal enables to scan any temporal value with a date from []byte

func NewTemporal

func NewTemporal() *Temporal

func NewTemporalInLocation

func NewTemporalInLocation(location *time.Location) *Temporal

func (*Temporal) HomoValue

func (t *Temporal) HomoValue() any

func (*Temporal) Scan

func (t *Temporal) Scan(src any) error

func (*Temporal) Value

func (t *Temporal) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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