package jsontime
import "go.mau.fi/util/jsontime"
Index ¶
- 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) UnmarshalJSON(data []byte) error
- type UnixMilli
Types ¶
type Unix ¶
func U ¶
func UInt ¶
func UnixNow ¶
func UnixNow() Unix
func (Unix) MarshalJSON ¶
func (*Unix) UnmarshalJSON ¶
type UnixMilli ¶
func UM ¶
func UMInt ¶
func UnixMilliNow ¶
func UnixMilliNow() UnixMilli
func (UnixMilli) MarshalJSON ¶
func (*UnixMilli) UnmarshalJSON ¶
Source Files ¶
jsontime.go
- Version
- v0.1.0
- Published
- Sep 6, 2023
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 10 hours ago –
Tools for package owners.