package jsontime
import "go.mau.fi/util/jsontime"
Index ¶
- Variables
- type Unix
- func U(time time.Time) Unix
- func UInt(ts int64) Unix
- func UnixNow() Unix
- func (u Unix) MarshalJSON() ([]byte, error)
- func (u *Unix) Scan(src any) error
- func (u *Unix) UnmarshalJSON(data []byte) error
- func (u Unix) Value() (driver.Value, error)
- type UnixMicro
- func UMicro(time time.Time) UnixMicro
- func UMicroInto(ts int64) UnixMicro
- func UnixMicroNow() UnixMicro
- func (um UnixMicro) MarshalJSON() ([]byte, error)
- func (um *UnixMicro) Scan(src any) error
- func (um *UnixMicro) UnmarshalJSON(data []byte) error
- func (um UnixMicro) Value() (driver.Value, error)
- type UnixMicroString
- func (um UnixMicroString) MarshalJSON() ([]byte, error)
- func (um *UnixMicroString) UnmarshalJSON(data []byte) error
- type UnixMilli
- func UM(time time.Time) UnixMilli
- func UMInt(ts int64) UnixMilli
- func UnixMilliNow() UnixMilli
- func (um UnixMilli) MarshalJSON() ([]byte, error)
- func (um *UnixMilli) Scan(src any) error
- func (um *UnixMilli) UnmarshalJSON(data []byte) error
- func (um UnixMilli) Value() (driver.Value, error)
- type UnixMilliString
- func (um UnixMilliString) MarshalJSON() ([]byte, error)
- func (um *UnixMilliString) UnmarshalJSON(data []byte) error
- type UnixNano
- func UN(time time.Time) UnixNano
- func UNInt(ts int64) UnixNano
- func UnixNanoNow() UnixNano
- func (un UnixNano) MarshalJSON() ([]byte, error)
- func (un *UnixNano) Scan(src any) error
- func (un *UnixNano) UnmarshalJSON(data []byte) error
- func (un UnixNano) Value() (driver.Value, error)
- type UnixNanoString
- func (um UnixNanoString) MarshalJSON() ([]byte, error)
- func (um *UnixNanoString) UnmarshalJSON(data []byte) error
- type UnixString
Variables ¶
Types ¶
type Unix ¶
func U ¶
func UInt ¶
func UnixNow ¶
func UnixNow() Unix
func (Unix) MarshalJSON ¶
func (*Unix) Scan ¶
func (*Unix) UnmarshalJSON ¶
func (Unix) Value ¶
type UnixMicro ¶
func UMicro ¶
func UMicroInto ¶
func UnixMicroNow ¶
func UnixMicroNow() UnixMicro
func (UnixMicro) MarshalJSON ¶
func (*UnixMicro) Scan ¶
func (*UnixMicro) UnmarshalJSON ¶
func (UnixMicro) Value ¶
type UnixMicroString ¶
func (UnixMicroString) MarshalJSON ¶
func (um UnixMicroString) MarshalJSON() ([]byte, error)
func (*UnixMicroString) UnmarshalJSON ¶
func (um *UnixMicroString) UnmarshalJSON(data []byte) error
type UnixMilli ¶
func UM ¶
func UMInt ¶
func UnixMilliNow ¶
func UnixMilliNow() UnixMilli
func (UnixMilli) MarshalJSON ¶
func (*UnixMilli) Scan ¶
func (*UnixMilli) UnmarshalJSON ¶
func (UnixMilli) Value ¶
type UnixMilliString ¶
func (UnixMilliString) MarshalJSON ¶
func (um UnixMilliString) MarshalJSON() ([]byte, error)
func (*UnixMilliString) UnmarshalJSON ¶
func (um *UnixMilliString) UnmarshalJSON(data []byte) error
type UnixNano ¶
func UN ¶
func UNInt ¶
func UnixNanoNow ¶
func UnixNanoNow() UnixNano
func (UnixNano) MarshalJSON ¶
func (*UnixNano) Scan ¶
func (*UnixNano) UnmarshalJSON ¶
func (UnixNano) Value ¶
type UnixNanoString ¶
func (UnixNanoString) MarshalJSON ¶
func (um UnixNanoString) MarshalJSON() ([]byte, error)
func (*UnixNanoString) UnmarshalJSON ¶
func (um *UnixNanoString) UnmarshalJSON(data []byte) error
type UnixString ¶
func (UnixString) MarshalJSON ¶
func (u UnixString) MarshalJSON() ([]byte, error)
func (*UnixString) UnmarshalJSON ¶
func (u *UnixString) UnmarshalJSON(data []byte) error
Source Files ¶
helpers.go integer.go string.go
- Version
- v0.7.0
- Published
- Aug 16, 2024
- Platform
- darwin/amd64
- Imports
- 7 packages
- Last checked
- 3 hours ago –
Tools for package owners.