Documentation ¶
Overview ¶
Package units provides helper functions to perform conversions between various units of measurement.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteCountIEC ¶
ByteCountIEC converts a size in bytes to a human-readable string in IEC (binary) format. https://yourbasic.org/golang/formatting-byte-size-to-human-readable-format/ https://creativecommons.org/licenses/by/3.0/
func ByteCountSI ¶
ByteCountSI converts a size in bytes to a human-readable string in SI (decimal) format. https://yourbasic.org/golang/formatting-byte-size-to-human-readable-format/ https://creativecommons.org/licenses/by/3.0/
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.