Documentation ¶ Overview ¶ Package units provides constants for common units. Index ¶ Constants Constants ¶ View Source const ( // KiB is a Kibibyte KiB = int64(1024) // MiB is a Mebibyte MiB = 1024 * KiB // GiB is a Gibibyte GiB = 1024 * MiB // TiB is a Tebibyte TiB = 1024 * GiB // PiB is a Pebibyte PiB = 1024 * TiB // EiB is a Exbibyte EiB = 1024 * PiB ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ This section is empty. Source Files ¶ View all Source files units.go Click to show internal directories. Click to hide internal directories.