Documentation ¶
Overview ¶
Package conv provides handy conversion functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseTime ¶ added in v1.0.13
ParseTime attempts to extract a valid time.Time from an input string. We prefer RFC3999. Fallback should match MSSQL's CURRENT_TIMESTAMP.
func RelativeTime ¶
RelativeTime takes a time.Duration and returns the largest denomination relative time. eg. 1y for a duration over 400 days.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.