Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseRelativeAgeForHumans ¶
ParseRelativeAgeForHumans converts a human readable time duration to a machine readable one. Supported options are:
empty: -1 means no expiration Nd for N days Nw for N weeks Nm for N months Ny for N years
Returned 0 means an error that is already logged.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.