type ProcLimits … const limitsFields … const limitsUnlimited … var limitsMatch … // NewLimits returns the current soft limits of the process. // // Deprecated: Use p.Limits() instead. func (p Proc) NewLimits() (ProcLimits, error) { … } // Limits returns the current soft limits of the process. func (p Proc) Limits() (ProcLimits, error) { … } func parseUint(s string) (uint64, error) { … }