Versions in this module Expand all Collapse all v0 v0.4.1 May 13, 2015 v0.4.0 Apr 18, 2015 v0.3.1 Apr 17, 2015 v0.3.0 Apr 16, 2015 v0.2.4 Apr 16, 2015 v0.2.3 Apr 13, 2015 v0.2.2 Apr 12, 2015 v0.2.1 Apr 12, 2015 v0.2.0 Apr 11, 2015 v0.1.1 Apr 5, 2015 Changes in this version + const EB + const EiB + const Exa + const Exabyte + const Exbibyte + const GB + const GiB + const Gibibyte + const Giga + const Gigabyte + const KB + const KiB + const Kibibyte + const Kilo + const Kilobyte + const MB + const Mebibyte + const Mega + const Megabyte + const MiB + const PB + const Pebibyte + const Peta + const Petabyte + const PiB + const TB + const Tebibyte + const Tera + const Terabyte + const TiB + func MakeUnitMap(suffix, shortSuffix string, scale int64) map[string]float64 + func ParseStrictBytes(s string) (int64, error) + func ParseUnit(s string, unitMap map[string]float64) (int64, error) + func ToString(n int64, scale int64, suffix, baseSuffix string) string + type Base2Bytes int64 + func ParseBase2Bytes(s string) (Base2Bytes, error) + func (b Base2Bytes) String() string + type MetricBytes SI + func ParseMetricBytes(s string) (MetricBytes, error) + func (m MetricBytes) String() string + type SI int64