Documentation
¶
Index ¶
Constants ¶
View Source
const ( KB = 1 << (10 * iota) // 1024 MB GB TB )
Variables ¶
This section is empty.
Functions ¶
func FormatBytesProgress ¶
FormatBytesProgress formats the bytes completed and total length into a string representation with the appropriate suffix.
func FormatDuration ¶
FormatDuration formats a duration in a human-readable format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.