Versions in this module Expand all Collapse all v1 v1.0.0 Jul 21, 2019 Changes in this version + var Format string = "%.2f" + var LongUnits bool = false + type ByteSize uint64 + const B + const EB + const GB + const KB + const MB + const PB + const TB + func New(s float64) ByteSize + func Parse(s string) (ByteSize, error) + func (b *ByteSize) Get() interface{} + func (b *ByteSize) Set(s string) error + func (b ByteSize) Format(format string, unit string, longUnits bool) string + func (b ByteSize) String() string