package timex
import "git.sr.ht/~pingoo/stdx/timex"
Index ¶
- func Max(x, y time.Time, times ...time.Time) time.Time
- type Time
- func Now() Time
- func (t Time) MarshalJSON() ([]byte, error)
- func (t Time) MarshalText() (ret []byte, err error)
- func (t *Time) Scan(val any) (err error)
- func (t Time) StdTime() time.Time
- func (t Time) String() string
- func (t Time) Unix() int64
- func (t *Time) UnmarshalJSON(data []byte) (err error)
- func (t *Time) UnmarshalText(data []byte) (err error)
- func (t Time) Value() (driver.Value, error)
Functions ¶
func Max ¶
Types ¶
type Time ¶
type Time int64
func Now ¶
func Now() Time
func (Time) MarshalJSON ¶
func (Time) MarshalText ¶
func (*Time) Scan ¶
func (Time) StdTime ¶
func (Time) String ¶
func (Time) Unix ¶
func (*Time) UnmarshalJSON ¶
func (*Time) UnmarshalText ¶
func (Time) Value ¶
Source Files ¶
max.go time.go
- Version
- v0.0.0-20240218134121-094174641f6e (latest)
- Published
- Feb 18, 2024
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 4 months ago –
Tools for package owners.