Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DateFormat defines the display date format DateFormat = "2006/01/02 15:04:05" // DurationPrecision defines the precision for formatted durations DurationPrecision = time.Second )
DateFormat and DurationPrecision are variables so that they can be customized at runtime if needed.
Functions ¶
func BeginOfDay ¶
BeginOfDay returns a date which represents the beginning of the day
func FormatDuration ¶
FormatDuration formats a duration
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.