Documentation ¶
Index ¶
Constants ¶
View Source
const ( Byte Size = 1 Kilobyte = 1024 * Byte Megabyte = 1024 * Kilobyte Gigabyte = 1024 * Megabyte Terabyte = 1024 * Gigabyte Petabyte = 1024 * Terabyte Exabyte = 1024 * Petabyte )
Common size units
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Size ¶
type Size int64
Size represents a measurement of data and can return that measurement in different units (B, KB, MB, GB, TB, PB, EB)
Click to show internal directories.
Click to hide internal directories.