Opens a new window with list of versions in this module.
Published: Oct 6, 2022
Opens a new window with license information.
Opens a new window with list of imports.
Imported by: 178
Opens a new window with list of known importers.
Package format provides convenience functions for formatting.
TimeFormatSeconds string = "02 Jan 2006 15:04:05 MST"
TimeFormatSubseconds string = "02 Jan 2006 15:04:05.99 MST"
Duration is similar to the time.Duration.String method from the standard
library but is more readable and shows only 3 digits of precision when
duration is less than 1 minute.
FormatBytes returns a string with the number of bytes specified converted
into a human-friendly format with a binary multiplier (i.e. GiB).
Click to show internal directories.
Click to hide internal directories.