model

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Time

type Time struct {
	T time.Time
}

func Now

func Now() *Time

func ParseTime

func ParseTime(v string) (Time, error)

func (*Time) MarshalText

func (t *Time) MarshalText() ([]byte, error)

func (*Time) Scan

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

Scan satisfies sql.Scanner interface.

func (*Time) String

func (t *Time) String() string

func (*Time) UnmarshalText

func (t *Time) UnmarshalText(data []byte) error

func (Time) Value

func (t Time) Value() (driver.Value, error)

Value satisfies driver.Valuer interface.

Jump to

Keyboard shortcuts

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