alias

package
v0.94.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 5 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 struct {
	time.Time
}

func (Date) MarshalJSON

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

func (*Date) Scan

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

func (Date) String

func (d Date) String() string

func (*Date) UnmarshalJSON

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

func (Date) Value

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

type DateTime

type DateTime struct {
	time.Time
}

func (DateTime) MarshalJSON

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

func (*DateTime) Scan

func (d *DateTime) Scan(src any) error

func (DateTime) String

func (d DateTime) String() string

func (*DateTime) UnmarshalJSON

func (d *DateTime) UnmarshalJSON(data []byte) (err error)

func (DateTime) Value

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

type DateTimeLayout

type DateTimeLayout struct {
	Time   time.Time
	Layout string
}

func (DateTimeLayout) MarshalJSON

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

func (*DateTimeLayout) Scan

func (d *DateTimeLayout) Scan(src any) error

func (DateTimeLayout) String

func (d DateTimeLayout) String() string

func (*DateTimeLayout) UnmarshalJSON

func (d *DateTimeLayout) UnmarshalJSON(data []byte) (err error)

func (DateTimeLayout) Value

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

Jump to

Keyboard shortcuts

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