Add comments to B, KiB and MiB units

This commit is contained in:
Yuriy Taraday 2018-05-05 23:11:29 +04:00
parent 8d6ee20a7c
commit f6ceaff755

View File

@ -18,7 +18,10 @@
package libvirt
const (
// B - byte
B = 1
// KiB - kibibyte
KiB = 1024 * B
// MiB - mebibyte
MiB = 1024 * KiB
)