types

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Date

type Date time.Time

func (Date) MarshalJSON

func (d Date) MarshalJSON() ([]byte, error)

func (*Date) Scan

func (d *Date) Scan(value any) error

func (Date) String

func (d Date) String() string

func (Date) Time

func (d Date) Time() time.Time

func (*Date) UnmarshalJSON

func (d *Date) UnmarshalJSON(data []byte) error

func (*Date) UnmarshalText

func (d *Date) UnmarshalText(text []byte) error

func (Date) Value

func (d Date) Value() (driver.Value, error)

type Datetime

type Datetime time.Time

func (Datetime) MarshalJSON

func (d Datetime) MarshalJSON() ([]byte, error)

func (*Datetime) Scan

func (dt *Datetime) Scan(value any) error

func (Datetime) String

func (dt Datetime) String() string

func (Datetime) Time

func (dt Datetime) Time() time.Time

func (*Datetime) UnmarshalJSON

func (dt *Datetime) UnmarshalJSON(data []byte) error

func (*Datetime) UnmarshalText

func (dt *Datetime) UnmarshalText(text []byte) error

func (Datetime) Value

func (dt Datetime) Value() (driver.Value, error)

type Float

type Float string

func (Float) Float

func (f Float) Float() float64

func (Float) MarshalJSON

func (i Float) MarshalJSON() ([]byte, error)

func (*Float) Scan

func (f *Float) Scan(value any) error

func (*Float) Set

func (f *Float) Set(val float64)

func (Float) String

func (f Float) String() string

func (*Float) UnmarshalJSON

func (f *Float) UnmarshalJSON(data []byte) error

func (*Float) UnmarshalText

func (f *Float) UnmarshalText(text []byte) error

func (Float) Value

func (f Float) Value() (driver.Value, error)

type Integer

type Integer string

func (Integer) Integer

func (i Integer) Integer() int64

func (Integer) MarshalJSON

func (i Integer) MarshalJSON() ([]byte, error)

func (*Integer) Scan

func (i *Integer) Scan(value any) error

func (*Integer) Set

func (i *Integer) Set(val int64)

func (Integer) String

func (i Integer) String() string

func (*Integer) UnmarshalJSON

func (i *Integer) UnmarshalJSON(data []byte) error

func (*Integer) UnmarshalText

func (i *Integer) UnmarshalText(text []byte) error

func (Integer) Value

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

Jump to

Keyboard shortcuts

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