Categorygithub.com/jimeh/go-tyme
modulepackage
0.0.0-20221030161944-016d0660e1ac
Repository: https://github.com/jimeh/go-tyme.git
Documentation: pkg.go.dev

# README

tyme

Warning: Work in progress.

Set of small go modules to make marshaling/unmarshaling time and duration values easier.

# Functions

Parse is a helper function to parse a wide range of string date and time formats using dateparse.ParseAny.

# Constants

RFC3339NanoJSON is the time.RFC3339Nano format with double quotes around it.

# Variables

PreferMonthFirst is option available in dateparse.
RetryAmbiguousDateWithSwap is option available in dateparse.

# Type aliases

Time is a wrapper around time.Time that implements JSON and YAML marshaler and unmarshaler interfaces.
TimeRFC3339 is a wrapper around time.Time that implements JSON/YAML marshaling/unmarshaling interfaces.