Versions in this module Expand all Collapse all v1 v1.1.0 Jun 22, 2016 v1.1.0-beta3 Jun 10, 2016 v1.1.0-beta2 Jun 3, 2016 v1.1.0-beta1 May 20, 2016 v1.0.1 Mar 31, 2016 v1.0.0 Mar 7, 2016 Changes in this version + const GB + const GiB + const KB + const KiB + const MB + const MiB + const PB + const PiB + const TB + const TiB + func BytesSize(size float64) string + func CustomSize(format string, size float64, base float64, _map []string) string + func FromHumanSize(size string) (int64, error) + func HumanDuration(d time.Duration) string + func HumanSize(size float64) string + func RAMInBytes(size string) (int64, error) + type Rlimit struct + Hard uint64 + Soft uint64 + Type int + type Ulimit struct + Hard int64 + Name string + Soft int64 + func ParseUlimit(val string) (*Ulimit, error) + func (u *Ulimit) GetRlimit() (*Rlimit, error) + func (u *Ulimit) String() string v1.0.0-beta1 Feb 23, 2016