units.go raw

   1  // Package units is a convenient set of names designating data sizes in bytes
   2  // using common ISO names (base 10).
   3  package units
   4  
   5  const (
   6  	Kilobyte = 1000
   7  	Kb       = Kilobyte
   8  	Megabyte = Kilobyte * Kilobyte
   9  	Mb       = Megabyte
  10  	Gigabyte = Megabyte * Kilobyte
  11  	Gb       = Gigabyte
  12  )
  13