Documentation ¶
Index ¶
Constants ¶
View Source
const ( // KiB 1024 bytes KiB = 1 << (10 * iota) // MiB 1024 KiB MiB // GiB 1024 MiB GiB // TiB 1024 GiB TiB // PiB 1024 TiB PiB )
View Source
const ( // KB 1000 bytes KB = 1000 // MB 1000 KB MB = KB * 1000 // GB 1000 MB GB = MB * 1000 // TB 1000 GB TB = GB * 1000 // PB 1000 TB PB = TB * 1000 )
Variables ¶
View Source
var BadUnit = errors.New("Bad unit")
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.