Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToUTC ¶
func ConvertToUTC(t *types.TimeWindowTimeRange) error
ConvertToUTC takes a TimeWindowRange and converts both the begin time and end time of the window to UTC
func ConvertToUnix ¶
ConvertToUnix takes a full date and converts it to a UNIX timestamp
func HumanTimestamp ¶
HumanTimestamp takes a timestamp and returns a readable date using the format string "2006-01-02 15:04:05.999999999 -0700 MST". If the timestamp equals 0, "N/A" will be returned instead of the epoch date
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.