package xtime
import "git.sr.ht/~jamesponddotco/xstd-go/xtime"
Package xtime provides functions and utilities that extend Go's standard time package.
Index ¶
Types ¶
type Duration ¶
Duration is a wrapper for time.Duration which supports JSON unmarshalling from a string.
func (*Duration) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
Source Files ¶
- Version
- v0.13.1 (latest)
- Published
- Jan 29, 2025
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 4 days ago –
Tools for package owners.