package
Version:
v1.0.4
Opens a new window with list of versions in this module.
Published: Oct 27, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package size implements human representation of bytes size.
A Byte represents a number of bytes.
const (
KB Byte = 1 << (10 * iota)
MB
GB
TB
PB
EB
)
Suffixes for KB, MB, GB, TB, PB and EB.
String represents a Byte with the most appropriate unit.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.