package
Version:
v0.0.0-...-d931726
Opens a new window with list of versions in this module.
Published: Aug 28, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package bytecount provides functionalities to
format byte counts.
Format returns a human readable string from the
passed byte count.
Example:
size := uint64(3371549327)
hSize := bytecount.Format(size)
fmt.Println(hSize)
// -> "3.140 GiB"
Source Files
¶
Click to show internal directories.
Click to hide internal directories.