Versions in this module Expand all Collapse all v0 v0.1.9 Feb 24, 2017 v0.1.8 Aug 2, 2016 v0.1.7 May 25, 2016 v0.1.4 May 5, 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